Answer the question
In order to leave comments, you need to log in
How to run python 3.4 environment on CentOS7?
Guys, I would like to clarify one point with you.
Task: "Install a project on Python3.4 and Django 1.9.2 on a VPS (Cento OS 7)"
Now I have a problem with running an environment under Python3.4
What I do:
1) Create a user with sudo rights.
2) I write a set of commands:
sudo yum install epel-release
sudo yum install python-pip
sudo yum install wget
sudo pip install virtualenv virtualenvwrapper
echo "export WORKON_HOME=~/Env" >> ~/.bashrc #Все окружения буду сохранять в папку Env
echo "source /usr/bin/virtualenvwrapper.sh" >> ~/.bashrc
source ~/.bashrc
wget https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tar.xz
tar -xvf Python-3.4.3.tar.xz
cd Python-3.4.3
./configure
make
sudo make install
mkvirtualenv -p /usr/local/bin/python3.4 exampleexmp # -p чтобы поддерживалась 3 версия.
Answer the question
In order to leave comments, you need to log in
install from the repository
https://dl.fedoraproject.org/pub/epel/7/x86_64/rep...
then find out the real path to the binary
check if pip3 is included
I work through pyenv
It is on Centose7 that I use pyenv. After installing this utility, there are no problems, any available version of Python is installed - if you need a completely new one, update the turnip and install it.
When installing pyenv, there may be expected problems due to lack of packages, but everything is there with the specified repository
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question