Skip to content

Instantly share code, notes, and snippets.

@leodutra
Created August 10, 2017 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leodutra/a84b05436466e6ef040072e6b560f8af to your computer and use it in GitHub Desktop.
Save leodutra/a84b05436466e6ef040072e6b560f8af to your computer and use it in GitHub Desktop.
Pypy Ubuntu install

Get Pypy 5.8 (Python 2.7 compatible)

sudo mkdir -p /opt/pypy
cd /opt/pypy 
sudo wget https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.8.0-linux64.tar.bz2
sudo tar -xvf pypy2-v5.8.0-linux64.tar.bz2
sudo chmod -R 775 /opt/pypy
sudo rm -rf pypy2-v5.8.0-linux64.tar.bz2

# va para o diretorio do projeto
virtualenv -p /opt/pypy/pypy2-v5.8.0-linux64/bin/pypy pypy-venv
source pypy-venv/bin/activate

pypy -mpip install -U wheel
pip install cython numpy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment