Install Twisted Windows

Installing and configuring Twisted on Windows has gotten easier over the years. Here is how to do it in 2015, using the latest packaging tools. Twisted runs well on Windows, in my experience. I moved some Twisted applications from Linux to Windows for a client, and they have been running happily for months now without issue. Mar 25, 2015  Twisted itself does not depend on pyodbc, so there is no need to install it if your application doesn’t use it. As of March 2015, pyodbc is not available in wheel format from PyPI. Download the Windows installer. Make sure to get the installer that. Installing twisted on python 3.5 and virtualenv using pip. In the command line in windows, it starts installing packages until the flowing line comes up. Pip then crashed soon after, saying it has failed the installation.

Active1 year, 7 months ago

when i run

in the command line in windows, it starts installing packages until the flowing line comes up.

pip then crashed soon after, saying it has failed the installation.

why is this ?

is there a way round it to install twisted?

Install Twisted Python Windows

my wheel version is 0.29, I'm running windows 10, twisted installs fine for python 2.7

thanks

Brian FormentoBrian Formento
Install Twisted Windows

2 Answers

I was looking for a solution to this (I use Python 3.6.1). Found this page:

It contains the windows binaries for a large number of python packages. For python 3.5 use the version with 'cp35' in the filename, and choose win32/amd64 based on your installation. You can install the .whl file easily using pip:

Install Twisted Windows

Install Twisted Windows 2

This solved the problem for me.

Tom BrouwerTom Brouwer

I encountered the same error too and in my case, the problem seemed to be that I did not have the Python workflow enabled in Microsoft Visual Studio 2017. To enable that, launch the Visual Studio Launcher > Modify > tick the workflows you want to use (i.e. Python). This rectified it for me.

Twisty Impersonator
20.5k15 gold badges70 silver badges105 bronze badges
EvelynEvelyn

Not the answer you're looking for? Browse other questions tagged python or ask your own question.

Active7 months ago

I am trying to install Twisted on a Windows 8 computer. On the official Twisted website, there is only one Wheel file for windows.

I already installed Zope and PyWin32.

But when I do :

I get :

I have seen and tried the solutions of these 2 topics :

filename.whl is not supported wheel on this platformand How do I install a Python package with a .whl file?

pip is up-to-date, CPython2.7 is installed, I tried with

and

None of it worked.

What am I missing, what have I not tried ?

erjonerjon

4 Answers

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.

Manish GuptaManish Gupta
1,9954 gold badges37 silver badges68 bronze badges

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'

erjonerjon

The Windows XP that was building 32-bit Twisted wheels was decommissioned, so no builds are being built. People propose to install 32-bit toolchain on 64-bit Windows builder, so they might get back soon.

See https://twistedmatrix.com/pipermail/twisted-python/2016-March/030227.html

And https://twistedmatrix.com/trac/ticket/8314

anatoly techtonikanatoly techtonik
13.1k6 gold badges92 silver badges107 bronze badges

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)

Install Twisted Windows 8 1

You should go to the path of Anaconda, for me was like:

Then you should run the following command

At some point it asks

type y. Now twisted is installed.

Install Twisted Windows 8

ayaio
61.4k20 gold badges138 silver badges202 bronze badges
MonirradMonirrad

Install Twisted Windows 6

Not the answer you're looking for? Browse other questions tagged pythonwindowspiptwisted or ask your own question.