

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 Move inside the directory: cd virtualenv-1.9/ Uncompress the folder: tar -zxvf virtualenv-1.9.tar.gz Move inside the directory: cd Python-2.7.7Ĭreate the destination folder: mkdir ~/.localpython Uncompress the folder: tar -zxvf Python-2.7.7.tar.gz Use the conda install command to install 720+ additional conda packages from the Anaconda repository. It is a small, bootstrap version of Anaconda that includes only conda, Python, the packages they depend on, and a small number of other useful packages, including pip, zlib and a few others. 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 Miniconda is a free minimal installer for conda. You can see the problem in more detail here. We recommend to contact your server administrator to setup Python’s virtual environment on the server. 2 days ago &0183 &32 I had a Flask app project deployed on Debian-9 VM, which upgraded to Debian-11, and my app stopped working because of global-Python, which is 3.7 in Debian-9 and 3.9 in Debian-11. Python 3.7.

Computing Installation of Python in your home directory (without sudo rights)
