[Distutils] "not a supported wheel on this platform"

Paul Moore p.f.moore at gmail.com
Tue Oct 28 15:44:22 CET 2014


Can you see what the following says (results here are from my Windows
Python 3.4 system)?

>>> from wheel.pep425tags import get_supported
>>> ['-'.join(t) for t in get_supported()]
['cp34-none-win_amd64', 'cp34-none-any', 'cp3-none-any',
'cp33-none-any', 'cp32-none-any', 'cp31-none-any', 'cp30-none-any',
'py34-none-any', 'py3-none-any', 'py33-none-any', 'py32-none-any',
'py31-none-any', 'py30-none-any']

I suspect you might be missing the combination "py2" with an
architecture other than "any".

Paul

On 28 October 2014 14:22, Antoine Pitrou <solipsis at pitrou.net> wrote:
>
> Hello,
>
> Ok, so until I find a better solution I've tried hosting a wheel on a
> personal server, but then I get the following error when installing it:
>
> $ pyvenv-3.4 t
> $ source t/bin/activate
> (t) $ pip install https://ssl.pitrou.net/llvmlite-0.1-py2.py3-none-linux_x86_64.whl
> llvmlite-0.1-py2.py3-none-linux_x86_64.whl is not a supported wheel on this platform.
> Storing debug log for failure in /home/antoine/.pip/pip.log
>
> Yet:
>
> (t) $ python
> Python 3.4.1 (3.4:d1bf37def4fd, May 19 2014, 19:52:53)
> [GCC 4.8.1] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import sysconfig
>>>> sysconfig.get_platform()
> 'linux-x86_64'
>
>
> The log file doesn't tell anything really interesting:
>
> ------------------------------------------------------------
> /home/antoine/t/t/bin/pip run on Tue Oct 28 15:18:06 2014
> llvmlite-0.1-py2.py3-none-linux_x86_64.whl is not a supported wheel on this platform.
> Exception information:
> Traceback (most recent call last):
>   File "/home/antoine/t/t/lib/python3.4/site-packages/pip/basecommand.py", line 122, in main
>     status = self.run(options, args)
>   File "/home/antoine/t/t/lib/python3.4/site-packages/pip/commands/install.py", line 257, in run
>     InstallRequirement.from_line(name, None))
>   File "/home/antoine/t/t/lib/python3.4/site-packages/pip/req.py", line 167, in from_line
>     raise UnsupportedWheel("%s is not a supported wheel on this platform." % wheel.filename)
> pip.exceptions.UnsupportedWheel: llvmlite-0.1-py2.py3-none-linux_x86_64.whl is not a supported wheel on this platform.
>
>
> Regards
>
> Antoine.
>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig


More information about the Distutils-SIG mailing list