Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning on import #5

Open
matteoferla opened this issue Jan 2, 2025 · 0 comments
Open

Warning on import #5

matteoferla opened this issue Jan 2, 2025 · 0 comments

Comments

@matteoferla
Copy link
Owner

The following warning happens:

$CONDAPREFIX/lib/python3.11/site-packages/_distutils_hack/__init__.py:31: UserWarning: Setuptools is replacing distutils. Support for replacing an already imported distutils is deprecated. In the future, this condition will fail. Register concerns at https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml
  warnings.warn(

This is due to the line from pip._internal.cli.main import main as pip_main which gets called like sig = pip_main(['install', path]).
The logic for not installing it as a child thread was to avoid the risk of being unable to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant