1

I'm trying to install the pyv8 package on a virtualenv on Windows.

Here is what I did:

virtualenv venv
venv\Scripts\activate
pip install pyv8

and the last command failed with the following error:

File "<string>", line 17, in <module>
File "<proj_path>\venv\build\pyv8\setup.py", line 17, in <module>
    include_dirs += os.environ["INCLUDE"].split(';')
File "<proj_path>\venv\lib\os.py", line 423, in __getitem__
    return self.data[key.upper()]
KeyError: 'INCLUDE'

What am I missing?

Tzach
  • 12,889
  • 11
  • 68
  • 115

1 Answers1

1

There is actually an executable that installs it for you on windows.

When you install it, be sure to point the installation directory to your virtualenv directory. You might also want to check out this repeat

Community
  • 1
  • 1
IamnotBatman
  • 342
  • 3
  • 7