I am not sure. I have Visual Studio 2010 installed and set the environment 
variable

VS100COMNTOOLS = "C:\Program Files (x86)\Microsoft Visual Studio 
10.0\Common7\Tools"


Is there more to it?

-- Jonas 

Am Freitag, 21. Februar 2014 22:31:55 UTC+1 schrieb Donald Stufft:
>
> Sorry I didn’t notice this.
>
> It was actually trying to install from source, and an error occurred when 
> it tried to compile it. Do you have the proper toolchain installed? (e.g. 
> can you install anything that requires a C ext?)
>
> On Feb 21, 2014, at 4:26 PM, Jonas Gröger <[email protected]<javascript:>> 
> wrote:
>
> Hi Guido,
>
> First of all thank you for your answer. Unfortunately, the Unofficial 
> Windows Binaries for Python Extension 
> Packages<http://www.lfd.uci.edu/~gohlke/pythonlibs/>from Christoph Gohlke do 
> not contain asyncio for Python 3.3 (they actually 
> don't at all). Unfortunately he does not point out how exactly he builds 
> the Installers.
>
> As I need this, I am fine building from source. I also have a little 
> background in C++. Could you point me to a resource where it is explained 
> how to do that?
>
> -- Jonas Gröger
>
> Am Freitag, 21. Februar 2014 22:12:49 UTC+1 schrieb Guido van Rossum:
>>
>> Hi Jonas,
>>
>> It looks like nobody can help you. There are many potential issues that 
>> could break pip on Windows. Maybe you can search or ask on 
>> StackOverflow.com? (I hesitate to recommend that you install from 
>> source, because you'd need to have VS 2010 for that -- a free version is 
>> available but it's still a pain to set up.)
>>
>>
>> On Thu, Feb 20, 2014 at 2:36 PM, Jonas Gröger <[email protected]>wrote:
>>
>>> Hello!
>>>
>>> I am trying to install asyncio aka tulip on Python 3.3 like this
>>>
>>> pip install asyncio
>>>
>>>
>>> This fails:
>>>
>>> Downloading/unpacking asyncio
>>>   Running setup.py 
>>> (path:c:\users\jonas\appdata\local\temp\pip_build_Jonas\asyncio\setup.py) 
>>> egg_info for package asyncio
>>>     
>>> Installing collected packages: asyncio
>>>   Running setup.py install for asyncio
>>>     building 'asyncio._overlapped' extension
>>>     Traceback (most recent call last):
>>>        File "<string>", line 1, in <module>
>>>       File 
>>> "c:\users\jonas\appdata\local\temp\pip_build_Jonas\asyncio\setup.py", line 
>>> 32, in <module>
>>>         ext_modules=extensions,
>>>       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\command\install.py", line 54, in 
>>> run
>>>         return _install.run(self)
>>>       File "C:\Python33\lib\distutils\command\install.py", line 569, in 
>>> run
>>>         self.run_command('build')
>>>       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\distutils\command\build.py", line 126, in run
>>>         self.run_command(cmd_name)
>>>       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\command\build_ext.py", line 52, 
>>> in run
>>>         _build_ext.run(self)
>>>       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\command\build_ext.py", line 186, 
>>> in build_extension
>>>         _build_ext.build_extension(self,ext)
>>>       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']
>>>     Complete output from command C:\Python33\python.exe -c "import 
>>> setuptools, 
>>> tokenize;__file__='c:\\users\\jonas\\appdata\\local\\temp\\pip_build_Jonas\\asyncio\\setup.py';exec(compile(getattr(tokenize,
>>>  
>>> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
>>> install --record 
>>> c:\users\jonas\appdata\local\temp\pip-39a8x9-record\install-record.txt 
>>> --single-version-externally-managed --compile:
>>>     running install
>>>
>>> running build
>>> running build_py
>>> creating build
>>> creating build\lib.win-amd64-3.3
>>> creating build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\base_events.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\base_subprocess.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\constants.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\events.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\futures.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\locks.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\log.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\proactor_events.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\protocols.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\queues.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\selectors.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\selector_events.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\streams.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\subprocess.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\tasks.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\test_utils.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\transports.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\unix_events.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\windows_events.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\windows_utils.py -> build\lib.win-amd64-3.3\asyncio
>>> copying asyncio\__init__.py -> build\lib.win-amd64-3.3\asyncio
>>> running build_ext
>>> building 'asyncio._overlapped' extension
>>> Traceback (most recent call last):
>>>   File "<string>", line 1, in <module>
>>>   File 
>>> "c:\users\jonas\appdata\local\temp\pip_build_Jonas\asyncio\setup.py", line 
>>> 32, in <module>
>>>     ext_modules=extensions,
>>>   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\command\install.py", 
>>> line 54, in run
>>>     return _install.run(self)
>>>   File "C:\Python33\lib\distutils\command\install.py", line 569, in run
>>>     self.run_command('build')
>>>   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\distutils\command\build.py", line 126, in run
>>>     self.run_command(cmd_name)
>>>   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\command\build_ext.py", 
>>> line 52, in run
>>>     _build_ext.run(self)
>>>   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\command\build_ext.py", 
>>> line 186, in build_extension
>>>     _build_ext.build_extension(self,ext)
>>>   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']
>>>
>>> ----------------------------------------
>>> Cleaning up...
>>> Command C:\Python33\python.exe -c "import setuptools, 
>>> tokenize;__file__='c:\\users\\jonas\\appdata\\local\\temp\\pip_build_Jonas\\asyncio\\setup.py';exec(compile(getattr(tokenize,
>>>  
>>> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
>>> install --record 
>>> c:\users\jonas\appdata\local\temp\pip-39a8x9-record\install-record.txt 
>>> --single-version-externally-managed --compile failed with error code 1 in 
>>> c:\users\jonas\appdata\local\temp\pip_build_Jonas\asyncio
>>> Storing debug log for failure in C:\Users\Jonas\pip\pip.log
>>>
>>>
>>> How can I make this work?
>>>
>>> Best,
>>> Jonas 
>>>
>>
>>
>>
>> -- 
>> --Guido van Rossum (python.org/~guido) 
>>
>
>
> -----------------
> Donald Stufft
> PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 
> DCFA 
>
>

Reply via email to