R
R
RockyMotion2019-06-04 16:22:35
CentOS
RockyMotion, 2019-06-04 16:22:35

How to change python versions to specific ones in this command for centos?

I'm trying to install a django project on jino's vps hosting, they indicated that it's better not to change the default python version, but it is the second one.
Following this https://www.vultr.com/docs/how-to-install-django-o... instructions I write the command yum install python-devel python-setuptools python-pip - but all components for the second version of python are installed how to change so that everything is set to 3.6

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Gornostaev, 2019-06-04
@RockyMotion

yum install python3-devel python3-setuptools python3-pip

D
Dmitry Sviridov, 2019-06-04
@dimuska139

Yuzay for an environment or virtualenv, or deploy in a docker container.

I
Ivan Yakushenko, 2019-06-04
@kshnkvn

python3 instead of python

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question