-
-
Notifications
You must be signed in to change notification settings - Fork 343
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
pdm run don't exclude all site-packages in PYTHONPATH #828
Comments
You shouldn't include any I don't know why you say PDM depends on that, it shouldn't. |
You can see if I remove some
In a new shell
I have installed pdm with
|
Make sure PYTHONPATH is
To show whether click is installed |
I have installed pdm following recommended-installation-method. Why the script haven't installed the dependancies of pdm into pdm 's site-packages? |
Run |
Thanks! That runs. I remove pdm, and reinstalled it with
And this time, it is installed correctly
I have try to reinstall it few times before, I don't why, but this time it is correctly installed |
Additional information, I have replace in .bashrc
by
to remove all site-packages. I think the documentation should precise "don't include any site-packages in PYTHONPATH". Because this line |
Good, go for it! |
Steps to reproduce
Actual behavior
/home/dev_1/.guix-profile/lib/python3.8/site-packages
is still insys.path
. My project load the system numpy instead of my pypackages numpy.Environment Information
additional information
I have try to remove
/home/dev_1/.guix-profile/lib/python3.8/site-packages
from PYTHONPATH, but it seems pdm depend it to run.I have try to search a configuration in pdm to explicit exclude this path, but not found.
related issue #100
The text was updated successfully, but these errors were encountered: