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 install from pypi is broken for venvs #16
Comments
I have to admit that, although it's not recommended, I usually use the system Python (with Judging by the error message, it seems the pyan module is not getting installed to site-packages of the temporary venv for some reason. I take it installing other packages in a temporary venv works? |
Yes, it works. Just a bit more details: when pip installed from git repo within temporary virtualenv
and when pip installed from pypi:
In the latter case, the python interpreter path if not set properly (it points to system interpreter, not one within venv). |
Thanks the analysis! The script using the wrong interpreter explains why it's not finding the module. Wait, I thought I already fix... aaaah, no, I didn't! See #11. The hardcoded hashbang is at least part of it - there may also be something else. I suppose I'll first fix #11, and then set up a venv and have a look myself. :) |
PyPI package (This should work in the new 1.1.1.) |
Here is what I got when installed in fresh temporary python venv:
Installing from within cloned repo works.
The text was updated successfully, but these errors were encountered: