-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Clean environment fails to run poetry install numpy pandas numba #8489
Comments
Here you are seeing that the latest versions of the packages you are adding are not compatible. So instead you will need to ask for not the latest versions. Edit: I see that later you try explicitly naming versions and ask why poetry and pip disagree on whether they are compatible. That's because poetry is solving for the whole python range declared in your pyproject.toml: and the incompatibility that the error message describes exists at python 3.12. please close. |
I doubt that is the case, since I get the same error by replacing the python version in
[tool.poetry.dependencies]
python = "~3.10" Reducing the python version to the one pip used ( Thank you for your prompt response above @dimbleby 🙇 |
no worries, please close |
🙇 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
poetry init
. Available below if relevant-vvv
option) and have included the output below.Issue
Poetry is not able to simultaneously install numba, numpy and pandas. Having created a new project with
poetry init
, I getI can install the same packages using pip
The above assures me that
numba==0.58.0
,numpy==1.25.2
andpandas==2.1.1
work well together, so I try the first step with the versions specifiedIs there a reason poetry is not able to install the same package dependencies that pip is able to install? I can see the line
pandas (2.1.1) depends on numpy (>=1.26.0)
, however this is not enough information to solve the root problem of finding three versions that poetry agrees are compatible with each other. I use the expression "poetry agrees" because pip is okay with it.Thank you for your help!
The text was updated successfully, but these errors were encountered: