-
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
Fail to install using Poetry #30
Comments
First, thanks for reporting. I don't know much about poetry yet, but I was thinking about giving it a try. Unfortunately I will not have enough time to devote to this soon. In case you would, I am happy to discuss the details. |
Thanks @gatagat. I think that a quickly approach is to declare cython and numpy as explicit requirements using Let me know if you have any other suggestion. Best regards! |
@fgmacedo do it :) |
For people who are struggling to install lap with You can make a search on pypi for the version that most sweet to you. lap05 = "0.5.1"
numpy = "1.23.2" # You have to add this line because `numpy` is a dependancy of lap Just make sure, you also install the Example: # install system dependencies
RUN apt-get update && \
apt-get install -y build-essential && \
apt-get install -y python3-dev && \
apt-get install -y telnet netcat && \
apt-get install -y --no-install-recommends gcc && \
apt-get install -y locales wkhtmltopdf jq && \
apt-get install -y curl |
@Almorisson if #41 solved the installation problem for me without the need to add Unfortunately, there is no word from @gatagat regarding the PR. |
For anyone coming accross this. You can use
|
Its working for lap error fixing. Thanks |
I'm trying to install this lib using poetry.
My pyproject.yml has two direct dependencies:
But since lap also needs numpy, there's no way to poetry to resolve dependencies without the lap mentioning that numpy is a install dependency.
I've found that this custom setup instructions is probably the issue, not compatible with the way poetry tries to install:
lap/setup.py
Lines 204 to 222 in ece5ee9
Error:
The text was updated successfully, but these errors were encountered: