I'm trying to install the openopt
library for Python 3.3 on my Windows 8.1 64 bits.
The thing is, to run its installation I first have to install setproctitle
.
This is where it all goes wrong.
When I run easy_install setproctitle
, I get the following error in PowerShell:
Searching for setproctitle Reading https://pypi.python.org/simple/setproctitle/ Best match: setproctitle 1.1.8 Downloading https://pypi.python.org/packages/source/s/setproctitle/setproctitle-1.1.8.zip#md5=99bd5957546846660a61f30bb8 7ba24a Processing setproctitle-1.1.8.zip Writing c:\users\smaga\appdata\local\temp\easy_install-wuzmf5\setproctitle-1.1.8\setup.cfg Running setproctitle-1.1.8\setup.py -q bdist_egg --dist-dir c:\users\smaga\appdata\local\temp\easy_install-wuzmf5\setpro ctitle-1.1.8\egg-dist-tmp-z2vmaj Traceback (most recent call last):
File "C:\Python33\Scripts\easy_install-script.py", line 9, in load_entry_point('setuptools==1.4.2', 'console_scripts', 'easy_install')() File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\easy_install.py", line 1924, in mainFile "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\easy_install.py", line 1911, in with _ei_usage File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\easy_install.py", line 1928, in File "C:\Python33\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Python33\lib\distutils\dist.py", line 929, in run_commands self.run_command(cmd) File "C:\Python33\lib\distutils\dist.py", line 948, in run_command cmd_obj.run() File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\easy_install.py", line 374, in run File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\easy_install.py", line 609, in easy_ install File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\easy_install.py", line 639, in insta ll_item File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\easy_install.py", line 825, in insta ll_eggs File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\easy_install.py", line 1031, in buil d_and_install File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\easy_install.py", line 1016, in run_ setup File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\sandbox.py", line 69, in run_setup File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\sandbox.py", line 120, in run File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\sandbox.py", line 71, in File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\compat.py", line 94, in execfile File "setup.py", line 99, in File "C:\Python33\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Python33\lib\distutils\dist.py", line 929, in run_commands self.run_command(cmd) File "C:\Python33\lib\distutils\dist.py", line 948, in run_command cmd_obj.run() File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\bdist_egg.py", line 185, in run File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\bdist_egg.py", line 171, in call_com mand File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Python33\lib\distutils\dist.py", line 948, in run_command cmd_obj.run() File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\install_lib.py", line 20, in run File "C:\Python33\lib\distutils\command\install_lib.py", line 107, in build self.run_command('build_ext') File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Python33\lib\distutils\dist.py", line 948, in run_command cmd_obj.run() File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\build_ext.py", line 52, in run File "C:\Python33\lib\distutils\command\build_ext.py", line 353, in run self.build_extensions() File "C:\Python33\lib\distutils\command\build_ext.py", line 462, in build_extensions self.build_extension(ext) File "C:\Python33\lib\site-packages\setuptools-1.4.2-py3.3.egg\setuptools\command\build_ext.py", line 186, in build_ex tension File "C:\Python33\lib\distutils\command\build_ext.py", line 517, in build_extension depends=ext.depends) File "C:\Python33\lib\distutils\msvc9compiler.py", line 460, in compile self.initialize() File "C:\Python33\lib\distutils\msvc9compiler.py", line 371, in initialize vc_env = query_vcvarsall(VERSION, plat_spec) File "C:\Python33\lib\distutils\msvc9compiler.py", line 287, in query_vcvarsall raise ValueError(str(list(result.keys()))) ValueError: ['path']
I searched around on SO and on the internet, and I reckong that the problem is coming from msvc9compiler.py
.
I made sure that I have the Visual Studio 9 compiler installed on the machine, but I really don't know how to go from there...
Has anybody successfully installed this lib on Windows 8.1 64 bits? Is this a global problem or really specific to my machine where I need to perform some operations?