Installing Twisted wheel on Windows 7

0

I am trying to install Scrapy on Windows 7. Thanks to problems with the installation, I got to installing Twisted first. If i try

pip install twisted

I get "failed building wheel for Twisted". Is I came across suggestions: Installing twisted on python 3.5 and virtualenv using pip I downloaded the file Twisted-18.7.0-cp37-cp37m-win_amd64.whl and I would like to install Twisted via this wheel. How should I modify this command, so pip finds the file. Or where should I place the file?

pip install Twisted-18.7.0-cp37-cp37m-win_amd64.whl

I tried:

pip install twisted --no-index --find-links C:\Twisted-18.7.0-cp37-cp37m-win_amd64.whl

I get a response: 'URL "C:\Twisted-18.7.0-cp37-cp37m-win_amd64.whl" is ignored. It is either a non-existing path or lacks a specific scheme'. If I try:

pip install Twisted-18.7.0-cp37-cp37m-win_amd64.whl --no-index --find-links C:\Twisted-18.7.0-cp37-cp37m-win_amd64.whl

I get a response: Requirement 'Twisted.[..] looks like a filename, but the file does not exist'. The path is correct, so what am I doing wrong?

Casso

Posted 2018-09-03T15:18:04.947

Reputation: 1

Turn on file extension displaying and double-check the extension of the downloaded file. – hoefling – 2018-09-17T22:03:20.523

I got file extensions displayed as standard, the filename is correct. – Casso – 2018-09-18T11:49:22.987

What does python -c "import os; print(os.path.isfile(r'C:\Twisted-18.7.0-cp37-cp37m-win_amd64.whl'))" return? – hoefling – 2018-09-18T12:01:05.623

Answers

0

you can install it with python -m pip install Twisted-19.2.0-cp37-cp37m-win_amd64.whl , change the package name as per your version.

Tarun Kumar

Posted 2018-09-03T15:18:04.947

Reputation: 1