[Twisted-Python] Installing Twisted on a clean Windows system

Jeff Grimmett grimmtooth at gmail.com
Sun Jul 1 09:26:03 MDT 2018


Aaaand, installed Python 3.6.6 and pip install'd Twisted 18.4.0 without any
problems.   So much for getting those sweet performance improvements in 3.7
for now - Twisted is an absolute requirement, 3.7 is not.

Anyways, looks like there's a compatibility issue between 3.7 and Twisted
on Windows at this point.  Anything I can to do assist in troublshooting,
lmk.  I'll be glad to help if I can do it.   I'm completely lost in the
woods where this kind of stuff is concerned.

Regards,

Jeff


On Sun, Jul 1, 2018 at 11:19 AM Jeff Grimmett <grimmtooth at gmail.com> wrote:

> I installed the compiler package indicated here:
> https://wiki.python.org/moin/WindowsCompilers (section titled "Microsoft
> Visual C++ 14.0 standalone: Build Tools for Visual Studio 2017 (x86, x64,
> ARM, ARM64)") and get a bunch of this:
>
> d:\programs\python37\include\pystate.h(209): note: see declaration of '_ts'
> src/twisted/internet/iocpreactor/iocpsupport/iocpsupport.c(7699): error
> C2039: 'exc_traceback':
>  is not a member of '_ts'
> d:\programs\python37\include\pystate.h(209): note: see declaration of '_ts'
> src/twisted/internet/iocpreactor/iocpsupport/iocpsupport.c(7700): error
> C2039: 'exc_type': is n
> ot a member of '_ts'
> d:\programs\python37\include\pystate.h(209): note: see declaration of '_ts'
> src/twisted/internet/iocpreactor/iocpsupport/iocpsupport.c(7701): error
> C2039: 'exc_value': is
> not a member of '_ts'
> d:\programs\python37\include\pystate.h(209): note: see declaration of '_ts'
> src/twisted/internet/iocpreactor/iocpsupport/iocpsupport.c(7702): error
> C2039: 'exc_traceback':
>  is not a member of '_ts'
> d:\programs\python37\include\pystate.h(209): note: see declaration of '_ts'
> error: command
> 'D:\\Programs\\VS\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\cl.exe'
> fail
> ed with exit status 2
>
> (there was more but this is the gist of it).
>
> Really strongly pointing back at Python 3.7 at this point but it's not
> where I usually live so ...
>
> Regards,
>
> Jeff
>
>
> On Sun, Jul 1, 2018 at 10:53 AM Jeff Grimmett <grimmtooth at gmail.com>
> wrote:
>
>> I am attempting to install Twisted 18.4.0  on a clean system, fresh
>> install of Python 3.7.  When I attempt to install from the source dist
>> (python setup.py install) it complains I don't have the MS Visual C++ Build
>> tools ("error: Microsoft Visual C++ 14.0 is required. Get it with
>> "Microsoft Visual C++ Build Tools"") and directs me to
>> http://landinghub.visualstudio.com/visual-cpp-build-tools - which is a
>> 404.
>>
>> "pip install twisted[windows_platform]" fails for the same reason.
>>
>> Not sure where to go for a good compiler here ... any ideas? Is it too
>> soon to adopt Python 3.7?  Should I go back to 3.6? (this is going to be a
>> system install so I'd prefer to avoid all virtualenv entanglements)
>>
>> TIA,
>>
>> Jeff
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20180701/6a4456c1/attachment-0002.html>


More information about the Twisted-Python mailing list