poetry install does not use available binary for numpy 1.19.2
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option). - OS version and name: Mac OS 10.15.6
- Poetry version: 1.1.2
- Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/pederpansen/eb25acdfea2bc808fa907e31ee541da1
Issue
When running poetry install
the installation of numpy 1.19.2
(using pyenv-installed Python 3.8.2) takes very long (~minutes) and seems to compile from source.
However, running pip install numpy==1.19.2
yields
Collecting numpy==1.19.2
Using cached https://files.pythonhosted.org/packages/33/1a/d10d1c23d21c289a3e87e751a9daf0907e91665cab08d0c35033fd4f5b55/numpy-1.19.2-cp38-cp38-macosx_10_9_x86_64.whl
Installing collected packages: numpy
Successfully installed numpy-1.19.2
WARNING: You are using pip version 19.2.3, however version 20.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
within a few seconds.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:5
Top Results From Across the Web
How does Poetry work regarding binary dependencies? (esp ...
I've being facing issues all day with numpy failing install (with pandas) for Python 3.9.1.6 and poetry 1.1.4. I understood that poetry uses...
Read more >I can't install TensorFlow-macos a… | Apple Developer Forums
Yes, I am running python 3.8.10. And for whl files, I am using MacBook Pro 16' with intel CPU, so, I do have...
Read more >building wheel for numpy (pep 517) ... error
Getting an error saying "Could not build wheels for numpy which use PEP 517 and cannot be installed directly" while installing numpy.
Read more >Conda Pip and All That - Washington State University
In any case, do not use or update the version of python installed for use by the ... conda is a full binary...
Read more >Pipenv vs Conda (for Data Scientists) | by Dr Soumaya Mauthoor
Whilst it is possible to install PyPI packages using pip in conda environments, this requires all ... numpy 1.19.2-py37h54aff64_0 → 1.15.3-py37h99e49ec_0
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Worth noting that running
poetry config experimental.new-installer false
beforehand fixes this for me.@naveen521kk As it turns out, the poetry version installed via Homebrew uses a hardcoded Homebrew-installed Python 3.9. The maintainers do not seem to see any issues with that: https://github.com/Homebrew/homebrew-core/issues/53169
I think this restricts the functionality of poetry in an unacceptable way. Solution: Use the official installer.