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
ModuleNotFoundError: No module named 'numpy' #12
Comments
Hi @Schwaggot Thanks for reporting this issue!
Thanks, |
Hi @chenxinye thanks for the fast response, numpy is specified in the requirements file as
and it is found during the pip install, you can see it in the logs:
Or am I missing something? Best, |
Oh I see, running an
manually first resolves the error when trying to install install CLASSIX after that. But that seems very confusing, why is it necessary, I thought the idea of having the dependencies inside the python package would be exactly to avoid installing stuff by hand, it should figure out automatically what to install. |
Hi @Schwaggot Thank you very much for your feedback, it is indeed confusing at this point, we will have a look and give you answer as soon as possible. Also, if you have any idea on code or others, feel free to pull your request. Cheers, |
We just fixed the issue you reported and release the new version 0.7.5. Thank you very much! |
@chenxinye Thanks for the amazingly fast support! It seems that the issue with numpy is fixed, but now the same happens with Cython...
|
@chenxinye I might have a solution for it, it seems that adding Cython to build-time dependecies has worked: I got the hint from here, similar issue: qutip/qutip#1246 (comment) |
Small update, I had a little issue with CLASSIX being compiled against a different version of numpy than being used later, so I included it into the
I suppose following that notation it would be possible to use the same |
Hi @Schwaggot, Sorry for the inconvenience and late reply, please update classixclustering to 0.7,7 version. We just fixed the setup for your new report issue, and now address all the dependency issues, and test it in the docker of native python and clean Debian environment. Thanks for your participation! Our appreciation is beyond words. Cheers, |
Also, please let us know if you have any further questions, your feedback is really helpful! |
Works! Thank you so much for the fast support, keep up the good work! |
I am trying to install classix
0.7.4
from a requirements file into a venv, but unfortunately I am getting an error about numpy not found, which kind of makes no sense to me, because it is installed in one of the steps above in version1.22.4
. I was hoping someone here could help me figure out what is going wrong.System: Debian 11 (bullseye)
Python version: 3.9.2
CLASSIX version: 0.7.4
Cython: 0.29.32
Steps to reproduce:
The content of the
requirements.txt
looks as follows:Any help resolving this issue would be appreciated, thanks.
The text was updated successfully, but these errors were encountered: