-
Notifications
You must be signed in to change notification settings - Fork 232
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
Windows unable to install. It keeps asking to install numpy even though its already installed. #306
Comments
I'm facing the same issue |
It just failed recently, before that it worked normally |
I think this is related to numpy deprecating distutils, which is used within setup.py for installing aeneas. Inside setip.py one reads: try:
from numpy import get_include
from numpy.distutils import misc_util
except ImportError:
print("[ERRO] You must install numpy before installing aeneas")
print("[INFO] Try the following command:")
print("[INFO] $ sudo pip install numpy")
sys.exit(1) About distutils:
The issue is not exclusive to Windows. I had the same problem o Ubuntu. Have you tried downgrade your python version? I was able to install aeneas on python 3.5.10. On python 3.10.1 I cannot However, if I clone the repo, I can execute |
same error, i change to python3.10 and fix it |
If you still have issues with python version < 3.12, install wheel package before aeneas. That helped for me |
I've solved this problem changing lines 188 and thereon in setup.py by excluding numpy misc_util as reported in #306 to:
after this I was able to do
and
to verify and install aeneas. |
@DominikLindorfer Thank you so much. This turned out to fix my issue. It feels like progress on this project has stalled. I have been using akki2825's version of this project to get it working on python3. |
I am using windows 10 and
Python 3.12.0
and I created a new folder and ran the below commands as Administrator in a command prompt.Error
Why am I getting an error saying that "You must install numpy before installing aeneas"? It makes no sense because according to aeneas documentation itself I ran
pip install numpy
successfully before runningpip install aeneas
The text was updated successfully, but these errors were encountered: