-
Notifications
You must be signed in to change notification settings - Fork 376
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
pip installation overwrites module directory #887
Comments
This looks like a common problem with pip: pypa/pip#8063 that hasn't been resolved. @pavoljuhas have you encountered anything like this before? |
已经被这个折磨一天了,最终选择折中的方法 ,使用pipx |
going to close this an issue with pip, feel free to reopen if there's another solution. |
This seems to happen because openfermion declares documentation files as data_files and as such they would install under PREFIX/openfermion. The package sources go to PREFIX/lib/pythonX.Y/site-packages/openfermion. The I can think of two remedies (1) use OR (2) update openfermion/setup.py to have documentation files included as |
thanks @pavoljuhas I think 2 is probably best. |
There seems to be an error when installing openfermion with pip into a specific target dir.
When running
pip install -t target openfermion
,I get
WARNING: Target directory /xxx/target/openfermion already exists. Specify --upgrade to force replacement.
.This happens toward the end of the installation process.
This is what's in the dir without running with
--upgrade
and getting the warning:And this is after running with
--upgrade
and without warning:So all of the module files are also gone.
The text was updated successfully, but these errors were encountered: