Skip to content

Instantly share code, notes, and snippets.

@kiy0taka
Created February 1, 2012 09:44
Show Gist options
  • Save kiy0taka/1716191 to your computer and use it in GitHub Desktop.
Save kiy0taka/1716191 to your computer and use it in GitHub Desktop.
mkdir python
curl -O http://peak.telecommunity.com/dist/virtual-python.py
python virtual-python.py --prefix=$WORKSPACE/python
curl -O http://peak.telecommunity.com/dist/ez_setup.py
echo '[install]
install_lib = $WORKSPACE/python/lib
install_scripts = $WORKSPACE/python/bin' > ~/.pydistuils.cfg
export PATH=$WORKSPACE/python/bin:$PATH
export PYTHONPATH=$WORKSPACE/python:$WORKSPACE/python/lib
python ez_setup.py
easy_install sphinx
make html
@nobusue
Copy link

nobusue commented Nov 11, 2013

CloudBeesで実行したところ、以下エラーが出てしまいました。

  • easy_install sphinx
    error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

[Errno 30] Read-only file system: '/usr/lib/python2.7/site-packages/test-easy-install-202.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

/usr/lib/python2.7/site-packages/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment