Python with pip install我收到值

2024-04-25 23:01:11 发布

您现在位置:Python中文网/ 问答频道 /正文

我想用pip安装gevent,但当我尝试时,我最终会得到这样的结果:

    ...
   File "c:\users\draffix\appdata\local\temp\pip_build_Draffix\gevent\setup.py", line 237, in build_extension

    result = 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\\draffix\\appdata\\local\\temp\\pip_build_
Draffix\\gevent\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'ex
ec'))" install --record c:\users\draffix\appdata\local\temp\pip-gt7qw6-record\install-record.txt --single-version-externally-
managed --compile failed with error code 1 in c:\users\draffix\appdata\local\temp\pip_build_Draffix\gevent
Storing debug log for failure in C:\Users\Draffix\pip\pip.log

我使用的是Windows7,Python3.3,微软Visual2010。谢谢你


Tags: pipinpybuildlocallinegeventusers
1条回答
网友
1楼 · 发布于 2024-04-25 23:01:11

我不能告诉您ValueError的具体原因,但我相信您更关心的是安装gevent。但是,现在它不支持Python3。您可以按照this issue进行更新。在

相关问题 更多 >