Wheels built from different versions of pip cannot be installed successfully
See original GitHub issue- Pip version: 19.0.3
- Python version: 3.6.0
- Operating system: windows7, 64bit
I build a wheel using pip wheel numpy
command and copy it to another win7, 64bit computer with 7.0.0 pip and 3.6.0 python to install, it fails however. When I upgrade target pip into version 19.1.1, it succeed.
It seems that wheel file must be built and installed through pip with the same major version number(of course python version should meet first), is that right?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
What is the meaning of "Failed building wheel for X" in pip ...
If the package is not a wheel, pip tries to build a wheel for it (via setup.py bdist_wheel ). If that fails for...
Read more >How to install, download and build Python wheels - ActiveState
Pip will install all “flavors” of wheels, including: ... To install a specific version of a package, run the following command: pip install...
Read more >Could not build wheels for X which use PEP 517 and cannot ...
To solve the error "Could not build wheels for X which use PEP 517 and cannot be installed directly", run the pip install...
Read more >PEP 517 and projects that can't install via wheels - Packaging
PEP 517 has no support for direct installs from source, with everything being built as a wheel and installed from that.
Read more >What Are Python Wheels and Why Should You Care?
Different Types of Wheels ; Building a Pure-Python Wheel ... 9Successfully built uwsgi 10Installing collected packages: uwsgi 11Successfully installed ...
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 FreeTop 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
Top GitHub Comments
In theory, as long as the wheel tags are compatible with the target environment, pip will be able to install the wheel.
But at the moment, you haven’t even explained what you mean by “it fails however”. So it’s pointless speculating what might be going wrong.
Thank you very much for your patience and explanation. I will try to avoid these problems in the future.