我尝试为 Python 3.4 安装 PyV8。但它不起作用。
我的系统;Windows 10 家庭版;Python 3.4(64 位);日食霓虹灯 2
我通过 PIP 尝试过
C:\Program Files (x86)\Python34\Scripts>pip install pyv8
Downloading/unpacking pyv8
Downloading PyV8-0.5.zip
Running setup.py (path:C:\Users\ME\AppData\Local\Temp\pip_build_Sebastian Weidemann\pyv8\setup.py) egg_info for package pyv8
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "C:\Users\ME\AppData\Local\Temp\pip_build_Sebastian Weidemann\pyv8\setup.py", line 17, in <module>
include_dirs += os.environ["INCLUDE"].split(';')
File "C:\Program Files (x86)\Python34\lib\os.py", line 651, in __getitem__
raise KeyError(key) from None
KeyError: 'INCLUDE'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "C:\Users\ME\AppData\Local\Temp\pip_build_Sebastian Weidemann\pyv8\setup.py", line 17, in <module>
include_dirs += os.environ["INCLUDE"].split(';')
File "C:\Program Files (x86)\Python34\lib\os.py", line 651, in __getitem__
raise KeyError(key) from None
KeyError: 'INCLUDE'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in C:\Users\ME\AppData\Local\Temp\pip_build_ME\pyv8
Storing debug log for failure in C:\Users\ME\pip\pip.log
C:\Program Files (x86)\Python34\Scripts>
我搜索了一些,但我找不到在 Windows 上安装 PyV8 for Python 3.4 的方法。