question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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).

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:closed
  • Created 3 years ago
  • Comments:19 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
amjltc295commented, Jun 3, 2021

I got a similar error:

  EnvCommandError

  Command ['/Users/allen.c/Library/Caches/pypoetry/virtualenvs/app-6aZ328yD-py3.8/bin/pip', 'install', '--no-deps', '-U', '/Users/allen.c/Library/Caches/pypoetry/artifacts/cd/11/54/fd481eec49cddc06876e526483e7ee8675d0910fed2aa7668a9fc88e62/MarkupSafe-2.0.1-cp38-cp38-mac
osx_10_9_x86_64.whl'] errored with the following return code 1, and output:
  ERROR: MarkupSafe-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl is not a supported wheel on this platform.
  WARNING: You are using pip version 20.2.2; however, version 21.1.2 is available.
  You should consider upgrading via the '/Users/allen.c/Library/Caches/pypoetry/virtualenvs/app-6aZ328yD-py3.8/bin/python -m pip install --upgrade pip' command.

That pip version was a warning and I ignored it. However, at the end I fixed the problem by running what it says

/Users/allen.c/Library/Caches/pypoetry/virtualenvs/app-6aZ328yD-py3.8/bin/python -m pip install --upgrade pip
2reactions
luksfarriscommented, Oct 7, 2021

I’ve just had this exact issue installing cryptography==35.0.0 with poetry==1.1.9 and pip==19.3.1. Updating to poetry==1.1.11 and pip==21.2.4 solved it for me.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found