-
Notifications
You must be signed in to change notification settings - Fork 184
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 fails due to numpy/PIL error #1142
Comments
Hello, maybe try the installation in a fresh virtual environment, so that no version clashes occur. Are you using conda? |
Hello, thanks for your answer. I'm trying pip in a fresh venv. As an alternative to installing from pypi directly, cloning the source code, version sfepy-release_2024.2, and install using pip install -e . I can successfully install, but running sfepy-test, I run into ImportError while importing test module '\tests\test_dg_field.py'. |
Can you try just |
Hello,
I just tried installing sfepy on windows 11 using various python versions from 3.7, 3.8, 3.9 and 3.12. However, all raised
"AttributeError: module 'numpy.typing' has no attribute 'NDArray'";
If I got it right, the issue lies in some sub-module taking a numpy version <1.20 while >1.20 is installed. Unfortunately, however, trying to install different numpy versions before installing sfepy does not resolve the issue, and my installation fails.
Best,
The text was updated successfully, but these errors were encountered: