[Twisted-Python] `easy_install Twisted` fails on Python for Windows 2.7 AMD64
![](https://secure.gravatar.com/avatar/ac1a6ab79fe1ca9371e1ba7c18df68b3.jpg?s=120&d=mm&r=g)
Is there something crucial that I am missing? C:\Users\santa>C:\Python27\Scripts\easy_install.exe Twisted Searching for Twisted Reading http://pypi.python.org/simple/Twisted/ Reading http://twistedmatrix.com/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/ Reading http://www.twistedmatrix.com Reading http://twistedmatrix.com/products/download Reading http://twistedmatrix.com/projects/core/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/ Best match: Twisted 10.2.0 Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted-10.2.0.tar. bz2 Processing Twisted-10.2.0.tar.bz2 Running Twisted-10.2.0\setup.py -q bdist_egg --dist-dir c:\users\santa\appdata\l ocal\temp\easy_install-jcob9g\Twisted-10.2.0\egg-dist-tmp-nuaqjd Traceback (most recent call last): File "C:\Python27\Scripts\easy_install-script.py", line 8, in <module> load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 1712, in main File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 1700, in with_ei_usage File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 1716, in <lambda> File "C:\Python27\lib\distutils\core.py", line 152, in setup dist.run_commands() File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "C:\Python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 211, in run File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 446, in easy_install File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 476, in install_item File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 655, in install_eggs File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 930, in build_and_install File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 919, in run_setup File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\san dbox.py", line 62, in run_setup File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\san dbox.py", line 105, in run File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\san dbox.py", line 64, in <lambda> File "setup.py", line 97, in <module> File "setup.py", line 92, in main File ".\twisted\python\dist.py", line 47, in setup File "C:\Python27\lib\distutils\core.py", line 152, in setup dist.run_commands() File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "C:\Python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\bdist_egg.py", line 175, in run File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\bdist_egg.py", line 161, in call_command File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "C:\Python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\install_lib.py", line 20, in run File "C:\Python27\lib\distutils\command\install_lib.py", line 111, in build self.run_command('build_ext') File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "C:\Python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "C:\Python27\lib\distutils\command\build_ext.py", line 340, in run self.build_extensions() File ".\twisted\python\dist.py", line 327, in build_extensions File ".\twisted\python\dist.py", line 318, in prepare_extensions File "twisted\runner\topfiles\setup.py", line 14, in <lambda> File ".\twisted\python\dist.py", line 360, in _check_header File ".\twisted\python\dist.py", line 346, in _compile_helper File "C:\Python27\lib\distutils\msvc9compiler.py", line 469, in compile self.initialize() File "C:\Python27\lib\distutils\msvc9compiler.py", line 379, in initialize vc_env = query_vcvarsall(VERSION, plat_spec) File "C:\Python27\lib\distutils\msvc9compiler.py", line 295, in query_vcvarsal l raise ValueError(str(list(result.keys()))) ValueError: [u'path'] C:\Users\santa> ~/santa
![](https://secure.gravatar.com/avatar/04f9c823b3aeee2eaa95d003c06d9848.jpg?s=120&d=mm&r=g)
On 12/12/2010 5:37 PM, Santoso Wijaya wrote:
Is there something crucial that I am missing?
I don't typically develop on Windows with Python. I assume that this is the 64 bit version of setuptools as well and not an x86 version shoehorned into an existing Python install? I only ask the latter, because it is supposedly possible with some registry trickery to install the 32 bit version (I've never tried) which may exhibit weirdness. There's an unofficial/unsupported build of setuptools for amd64 here that may work (it worked in my case): http://www.lfd.uci.edu/~gohlke/pythonlibs/ <http://www.lfd.uci.edu/%7Egohlke/pythonlibs/> Be sure to read the warnings on that page as they do appear to be based off exceedingly new code taken directly from each project's repository, so there may be bugs--but it did work for me since I couldn't get the PyPI distro to install. :) Hope this helps! -- Benjamin
![](https://secure.gravatar.com/avatar/607cfd4a5b41fe6c886c978128b9c03e.jpg?s=120&d=mm&r=g)
On 12:37 am, santoso.wijaya@gmail.com wrote:
Is there something crucial that I am missing?
I recommend <http://tmrc.mit.edu/mirror/twisted/Twisted/10.2/Twisted-10.2.0.winxp32-py2.7...> or <http://tmrc.mit.edu/mirror/twisted/Twisted/10.2/Twisted-10.2.0.winxp32-py2.7...>. Jean-Paul
![](https://secure.gravatar.com/avatar/ac1a6ab79fe1ca9371e1ba7c18df68b3.jpg?s=120&d=mm&r=g)
I tried the exe installer, but with only Python 2.7 AMD64 installed on my system, the installer could not locate it, unfortunately. "Python version 2.7 required, which was not found in the registry." HKLM\SOFTWARE\Python\PythonCore\2.7 exists but HKLM\SOFTWARE\Wow6432Node\Python\PythonCore\2.7 does not, obviously, which is what I assume the installer looks at. ~/santa On Sun, Dec 12, 2010 at 5:47 PM, <exarkun@twistedmatrix.com> wrote:
![](https://secure.gravatar.com/avatar/607cfd4a5b41fe6c886c978128b9c03e.jpg?s=120&d=mm&r=g)
On 07:23 pm, santoso.wijaya@gmail.com wrote:
How about <http://www.lfd.uci.edu/~gohlke/pythonlibs/>? Jean-Paul
![](https://secure.gravatar.com/avatar/04f9c823b3aeee2eaa95d003c06d9848.jpg?s=120&d=mm&r=g)
On 12/12/2010 5:37 PM, Santoso Wijaya wrote:
Is there something crucial that I am missing?
I don't typically develop on Windows with Python. I assume that this is the 64 bit version of setuptools as well and not an x86 version shoehorned into an existing Python install? I only ask the latter, because it is supposedly possible with some registry trickery to install the 32 bit version (I've never tried) which may exhibit weirdness. There's an unofficial/unsupported build of setuptools for amd64 here that may work (it worked in my case): http://www.lfd.uci.edu/~gohlke/pythonlibs/ <http://www.lfd.uci.edu/%7Egohlke/pythonlibs/> Be sure to read the warnings on that page as they do appear to be based off exceedingly new code taken directly from each project's repository, so there may be bugs--but it did work for me since I couldn't get the PyPI distro to install. :) Hope this helps! -- Benjamin
![](https://secure.gravatar.com/avatar/607cfd4a5b41fe6c886c978128b9c03e.jpg?s=120&d=mm&r=g)
On 12:37 am, santoso.wijaya@gmail.com wrote:
Is there something crucial that I am missing?
I recommend <http://tmrc.mit.edu/mirror/twisted/Twisted/10.2/Twisted-10.2.0.winxp32-py2.7...> or <http://tmrc.mit.edu/mirror/twisted/Twisted/10.2/Twisted-10.2.0.winxp32-py2.7...>. Jean-Paul
![](https://secure.gravatar.com/avatar/ac1a6ab79fe1ca9371e1ba7c18df68b3.jpg?s=120&d=mm&r=g)
I tried the exe installer, but with only Python 2.7 AMD64 installed on my system, the installer could not locate it, unfortunately. "Python version 2.7 required, which was not found in the registry." HKLM\SOFTWARE\Python\PythonCore\2.7 exists but HKLM\SOFTWARE\Wow6432Node\Python\PythonCore\2.7 does not, obviously, which is what I assume the installer looks at. ~/santa On Sun, Dec 12, 2010 at 5:47 PM, <exarkun@twistedmatrix.com> wrote:
![](https://secure.gravatar.com/avatar/607cfd4a5b41fe6c886c978128b9c03e.jpg?s=120&d=mm&r=g)
On 07:23 pm, santoso.wijaya@gmail.com wrote:
How about <http://www.lfd.uci.edu/~gohlke/pythonlibs/>? Jean-Paul
participants (3)
-
Benjamin A. Shelton
-
exarkun@twistedmatrix.com
-
Santoso Wijaya