-
Notifications
You must be signed in to change notification settings - Fork 68
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
Can not install lap even numpy is installed #48
Comments
I don't really know if this is related but i had the same issue on a github workflow using the "setup-python" github action and lap (See the last commit of pylapy, which is a wrapper/benchmark around several lap-like libraries). On my own laptop installing lap after numpy works, but with on the github workflow with the python installed by github it failed with the same error you have here (I don't know why...). I solved it by using a virtualenv on github. Though, I think you already are using one here, so it may not be helpful... You can maybe try to go with a conda env (On my laptop with ubuntu, it works) And if truly it does not work, you can try another lap lib:
@gatagat These issues can probably be solved by merging one of the PR on the subject |
If it helps anyone, I was running into the exact same issue when using the setup-python github action. I finally solved by installing the "wheel" package before installing lap (don't ask me why that works) |
Now for any installation issue I would advise to go with lapx. This is the same library but correctly deployed (Numpy is not required to be installed and it supports all recent python version > 3.7 or 3.6) |
I tried to run the lap package in virtual environment,
There was
numpy
installed already, but when I run the command linepip3 install lap
, it failed with error message thatnumpy
is required.I tried in python3.7, 3.8 and 3.9. Every time, I got same error message.
The text was updated successfully, but these errors were encountered: