Linux installation PyPy
The system you use is CentOS 7 (similar to the installation method of other Linux machines)
First download the PyPy RPM package.
Http://pkgs.org/search/?keyword=pypy
Download sequentially
pypy-libs-2.2.1-2.el7.x86_64.rpm
pypy-2.2.1-2.el7.x86_64.rpm
pypy-devel-2.2.1-2.el7.x86_64.rpm
Install in turn, Libs files must be installed with the interpreter first.
RPM-IVH pypy-libs-2.2.1-2.el7.x86_64.rpm
RPM-IVH pypy-2.2.1-2.el7.x86_64.rpm
RPM-IVH pypy-devel-2.2.1-2.el7.x86_64.rpm
After installation, enter PyPy in the terminal to invoke the PyPy interpreter.
Install Virtualnev
In the terminal, direct use of the command
Pip Install Virtualenv
Of course, the prerequisite is that the PIP has been installed, its own computer with.
Enter VIRTUALENV in the terminal to see the relevant commands.
Building a basic virtual environment
In the terminal input
Virtualenv–no-site-packages-p pypy App
Explain:
The default interpreter after-P is the PyPy
The app represents creating a file directory where the files used by the virtual environment are placed.
and enter the app directory.
CD app
Enter a command to activate the virtual environment
SOURCE Bin/activate
And you'll find that app appears at the front of the command.
Install the Python package you want to use
PIP Install package
You can now use the PyPy interpreter, including the packages before the PIP installation in PyPy
Use the virtual environment again
When you use a virtual environment again, you do not need to rebuild the directory, as long as the terminal enters the previously configured virtual Environment directory app, and then activates the environment as above.
The above Linux installation PyPy, virtualenv and the use of the method is small to share all the content of everyone, hope to give you a reference, but also hope that we support the cloud habitat community.