Glam Prestige Journal

Bright entertainment trends with youth appeal.

I want to install PyV8 in Ubuntu 13.04. However pip install -v pyv8 takes super long to build and finally fails.

How can I install PyV8 on a Ubuntu 13.04 machine?

Here is the error log

InstallationError: Command /home/x/pyv8/bin/python -c "import setuptools;__file__='/home/x/pyv8/build/pyv8/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-63AI25-record/install-record.txt --single-version-externally-managed --install-headers /home/x/pyv8/include/site/python2.7 failed with error code 1 in /home/x/pyv8/build/pyv8

1 Answer

There is a good tutorial on the web, which solves this problem:

The steps that worked for me where a bit different though:

  • sudo apt-get install scons libboost-python-dev
  • svn checkout v8
  • svn checkout pyv8

  • cd v8

  • export V8_HOME=`pwd`
  • cd ../pyv8
  • sudo python setup.py build
  • sudo python setup.py install
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy