简体   繁体   中英

ERROR: Twisted-20.3.0-cp39-cp39-win_amd64.whl is not a supported wheel on this platform

I was installing django channels and I got an error that twisted was not installed. I tried installing it after downloading the package from here https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted . But now I am getting this error..

ERROR: Twisted-20.3.0-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.

Is there a way to install it properly in windows 10. I am using python 3.8.

Thanks

Twisted-20.3.0-cp39-cp39-win_amd64.whl is a wheel for Python version 3.9, 64 bit, Windows. Error "is not a supported wheel on this platform" means that either your Python is not 3.9 or is not 64-bit (even if Windows is 64-bit Python still can be 32-bit).

Check version:

python --version

and check bitness:

python -c "import struct; print(struct.calcsize('P') * 8)"

I had the same problem and I solved it downloading the win32 version though I have a x64 architecture, here the link for download, you have to download the following wheel Twisted‑20.3.0‑cp39‑cp39‑win32.whl :

https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted

实际上,您使用的是 cp39 包,并且您的系统有 Python 3.8 cp39 代表 CPython 3.9(此轮文件 os for python 3.9.X 系列),对于您的系统,您必须安装 3.8 python 系列的轮文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM