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

2018-07-01 Thread Jeff Grimmett
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
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


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

2018-07-01 Thread Jeff Grimmett
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  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
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


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

2018-07-01 Thread Jeff Grimmett
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  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 
> 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
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


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

2018-07-01 Thread Amber Brown
Twisted does not yet support Python 3.7. Due to syntax changes and other
changes, as well as the non-availability of build infrastructure at this
moment (e.g. it doesn't work on Travis, we haven't tried appveyor), we
can't yet fully identify what's wrong and fix it with confidence.

I would suggest sticking with 3.6 until at least 3.7.1 rolls around, by
which time it's likely that Twisted and other projects have had time to
catch up.

-Amber
Twisted Release Manager

On Sun, 1 Jul 2018, 15:53 Jeff Grimmett,  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
> Twisted-Python@twistedmatrix.com
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


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

2018-07-01 Thread Jeff Grimmett
Thanks for the confirmation, Amber.  Settling down with 3.6.6 install.

Regards,

Jeff


On Sun, Jul 1, 2018 at 12:13 PM Amber Brown 
wrote:

> Twisted does not yet support Python 3.7. Due to syntax changes and other
> changes, as well as the non-availability of build infrastructure at this
> moment (e.g. it doesn't work on Travis, we haven't tried appveyor), we
> can't yet fully identify what's wrong and fix it with confidence.
>
> I would suggest sticking with 3.6 until at least 3.7.1 rolls around, by
> which time it's likely that Twisted and other projects have had time to
> catch up.
>
> -Amber
> Twisted Release Manager
>
> On Sun, 1 Jul 2018, 15:53 Jeff Grimmett,  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
>> Twisted-Python@twistedmatrix.com
>> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python