当前位置: 首页 > 工具软件 > PyV8 > 使用案例 >

python3 pyv8 linux,Python 3.4不能安装Pyv8模块

吕自明
2023-12-01

我试图为Python 3.4安装PyV8。但它没有奏效。Python 3.4不能安装Pyv8模块

我的系统; Windows 10 home; Python 3.4(64bit); Eclipse的霓虹灯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 "", line 17, in

File "C:\Users\ME\AppData\Local\Temp\pip_build_Sebastian Weidemann\pyv8\setup.py", line 17, in

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 "", line 17, in

File "C:\Users\ME\AppData\Local\Temp\pip_build_Sebastian Weidemann\pyv8\setup.py", line 17, in

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>

试过我GOOGLE了一些,但我不能找到一种方法来在Windows上安装PyV8为Python 3.4。

2017-03-27

Sama

 类似资料: