Use the virutal env.: source ~/virtualenv-1.9/virtalenv_name/bin/activateĭisconnect from the virtual env. Install the virtual environment for the local python: ~/.localpython/bin/virtualenv setup.py installĬreate a virtual environement using the local installation: virtualenv virtalenv_name -p /home//.localpython/bin/python2.7 PEP 587, Python Initialization Configuration (improved embedding) Typing-related: PEP 591 (Final qualifier), PEP 586 (Literal types), and PEP 589 (TypedDict) on Windows, the default asyncio event loop is now ProactorEventLoop. Move inside the directory: cd virtualenv-1.9/ Major new features of the 3.8 series, compared to 3.7. Uncompress the folder: tar -zxvf virtualenv-1.9.tar.gz Step 3: Compile the Python source code into binaries. ![]() Step 2: Download and unpack the Python source code. Move inside the directory: cd Python-2.7.7Ĭreate the destination folder: mkdir ~/.localpython Step 1: Prepare CentOS for Python compilation. Uncompress the folder: tar -zxvf Python-2.7.7.tar.gz If for any reasons, you would like to have a local installation of Python in your home directory independently from the system, here are the steps to follow: Install Python ![]() We recommend to contact your server administrator to setup Python’s virtual environment on the server. Computing Installation of Python in your home directory (without sudo rights)
0 Comments
Leave a Reply. |