[Linux, 1.1.0a3, Python3.6] X is not a supported wheel on this platform.
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: Linux; Docker
python:3.6
image - Poetry version: 1.1.0a3
- Link of a Gist with the contents of your pyproject.toml file: https://github.com/scoiatael/poetry-grpcio-issue/blob/master/pyproject.toml
Problem with installation of grpcio
on Python 3.6 with Poetry 1.1.0a3
First of all looks like faster installation in 1.1 will be a great feature, can’t wait to have it on stable 😃
However when I tried using that feature to speed up our Docker build I encountered a problem with installation of grpcio
on python 3.6 (works on 3.8 fine, also works with Poetry 1.0.9 on both Python versions):
Command ['/root/.cache/pypoetry/virtualenvs/poetry-grpcio-issue-o9msT97p-py3.6/bin/python', '-m', 'pip', 'install', '--no-deps', '/root/.cache/pypoetry/artifacts/e4/1a/fb/cc14443ebcdd3b0d5df7ca7fbffdc7d9343564703a67906925174cd179/grpcio-1.30.0-cp36-cp36m-manylinux2010_x86_64.whl'] errored with the following return code 1, and output:
grpcio-1.30.0-cp36-cp36m-manylinux2010_x86_64.whl is not a supported wheel on this platform.
You are using pip version 18.1, however version 20.2b1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
at /usr/local/lib/python3.6/site-packages/poetry/utils/env.py:937 in _run
933│ output = subprocess.check_output(
934│ cmd, stderr=subprocess.STDOUT, **kwargs
935│ )
936│ except CalledProcessError as e:
→ 937│ raise EnvCommandError(e, input=input_)
938│
939│ return decode(output)
940│
941│ def execute(self, bin, *args, **kwargs):
You can find minimal working example here.
Cheers!
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (1 by maintainers)
Top Results From Across the Web
Error "filename.whl is not a supported wheel on this platform"
You are using pip version 7.1.0, however version 8.1.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip'...
Read more >[Solved] ... is not a supported wheel on this platform
Fix for Issue 1. The fix is either to download the other version (32-bit if you downloaded 64-bit and vice versa) or change...
Read more >Python Extension Packages for Windows - Christoph Gohlke
Many binaries are not compatible with Windows XP, Windows 7, Windows 8, or Wine. The packages are ZIP or 7z files, which allows...
Read more >couchbase - PyPI
Couchbase Server; You may need a C++ compiler supporting C++ 17 and Python development files, unless a binary wheel is available for your...
Read more >pip install failed on is not a supported wheel on this platform
This is most likely an issue with conflicting python versions. The 'cp27' in the wheel name indicates that it should be installed with ......
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
I got a similar error:
That pip version was a warning and I ignored it. However, at the end I fixed the problem by running what it says
I’ve just had this exact issue installing
cryptography==35.0.0
withpoetry==1.1.9
andpip==19.3.1
. Updating topoetry==1.1.11
andpip==21.2.4
solved it for me.