I am trying to install Twisted on a Windows 8 computer. On the official Twisted website, there is only one Wheel file for windows.
https://twistedmatrix.com/trac/wiki/Downloads
I already installed Zope and PyWin32.
But when I do :
pip install Twisted-16.0.0-cp27-none-win_amd64.whl
I get :
Twisted-16.0.0-cp27-none-win_amd64.whl is not a supported wheel on this platform
I have seen and tried the solutions of these 2 topics :
filename.whl is not supported wheel on this platform and How do I install a Python package with a .whl file?
pip is up-to-date, CPython2.7 is installed, I tried with
python -m pip intall
and
path\to\pip install
None of it worked.
What am I missing, what have I not tried ?
This is very simple on windows. You need to install Twisted seperately.
Just 2 steps:
pip install pipwin
pipwin install Twisted
Use this link. http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted.
Its a repository for unofficial modules, but works every time for me. Use win32 version.
I had the same problem too but I solved it as follow:
Open the Anaconda Prompt as administrator (For Windows10
: open cortana
/write Anaconda Prompt
/choose Run as Administrator
)
You should go to the path of Anaconda, for me was like:
C:\WINDOWS\system32>cd ..
C:\WINDOWS>cd..
C:\>cd ProgramData
C:\ProgramData>cd Anaconda3
C:\ProgramData>Anaconda3>
Then you should run the following command
C:\ProgramData>Anaconda3>conda install -c anaconda twisted
At some point it asks
Proceed ([y]/n)?
type y
. Now twisted
is installed.
Answering my own post.
As Rod Hyde commented, only the 64 bit version of python is officialy supported by Twisted.
Edit to answer anatoly : Under the Windows Download section of Twisted, it is written "Twisted 16.0.0 for Python 2.7 64 bits"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With