Re: Installing Twisted on a clean Windows system

Jeff Grimmett <[email protected]>
Newsgroups gmane.comp.python.twisted
Message-ID <CA+1iZEca_2run6j7geNSWQcBW+rMGahKhs4+kqtLkzfnJUJwcg@mail.gmail.com>
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 <[email protected]> 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
>

_______________________________________________
Twisted-Python mailing list
[email protected]
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.