Open jayrod opened 4 years ago
``
echo "Removing pupy virtual env" rm -rf /opt/environments/pupy/ echo "Building pupy virtual env" virtualenv /opt/environments/pupy echo "Activating environment" source /opt/environments/pupy/bin/activate
echo "Removing pupy source" rm -rf /opt/pupy
echo "cloning source code" git clone --recurse-submodule https://github.com/alxchk/pupy.git
cd /opt/pupy/pupy git checkout futurize
pip install -r requirements ``
Snippet
ERROR: Command errored out with exit status 1: /opt/environments/pupy/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/pupy/pupy/external/pykcp/setup.py'"'"'; file='"'"'/opt/pupy/pupy/external/pykcp/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output. @jayrod ``
gist
rm -rf /opt/pupy/pupy/external/pykcp cd /opt/pupy/pupy/external git clone --recurse-submodule https://github.com/alxchk/pykcp.git
Steps to set up environment
``
!/bin/bash
echo "Removing pupy virtual env" rm -rf /opt/environments/pupy/ echo "Building pupy virtual env" virtualenv /opt/environments/pupy echo "Activating environment" source /opt/environments/pupy/bin/activate
echo "Removing pupy source" rm -rf /opt/pupy
echo "cloning source code" git clone --recurse-submodule https://github.com/alxchk/pupy.git
cd /opt/pupy/pupy git checkout futurize
pip install -r requirements ``
Error gist during install
Snippet
`` error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
ERROR: Command errored out with exit status 1: /opt/environments/pupy/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/pupy/pupy/external/pykcp/setup.py'"'"'; file='"'"'/opt/pupy/pupy/external/pykcp/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output. @jayrod ``
gist