Troubleshooting the installation of twisted

The error is not a supported wheel on this platform

solution

1.

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

Download the corresponding configuration file, such as twisted ‑ 18.7.0 ‑ cp36 ‑ cp36m ‑ win_Amd64.whl (where CP is followed by Python version, win_AMD64 stands for 64 bit)

 

2 . Run in Python

import pip
print(pip.pep425tags.get_supported())

Get

[('cp35', 'none', 'win_amd64'), ('py3', 'none', 'win_amd64'), ('cp35', 'none', '
any'), ('cp3', 'none', 'any'), ('cp34', 'none', 'any'), ('cp33', 'none', 'any'),
('cp32', 'none', 'any'), ('cp31', 'none', 'any'), ('cp30', 'none', 'any'), ('py
35', 'none', 'any'), ('py3', 'none', 'any'), ('py34', 'none', 'any'), ('py33', '
none', 'any'), ('py32', 'none', 'any'), ('py31', 'none', 'any'), ('py30', 'none'
, 'any')]

3.

Modify the corresponding file name according to the above prompts, such as:

Twisted‑18.7.0‑cp36‑cp36m‑win_amd64.whl

Change to ↓↓↓↓↓↓↓↓↓↓↓

Twisted‑18.7.0‑cp36‑none‑any.whl

CMD run

pip install E:\Twisted‑18.7.0‑cp36‑none‑any.whl

Installation succeeded

Similar Posts: