How to Update Python to Version 3.4 on a Directadmin Server

By | September 20, 2018

If you have a Directadmin server and a python app, that requires at least version 3, here is the fastest solution.

1. If you haven’t done so yet, you have to enable EPEL repository. Here is how:

yum install epel-release

2. Install python 3.4

yum install python34

3. install pip and setuptools

curl -O https://bootstrap.pypa.io/get-pip.py
sudo /usr/bin/python3.4 get-pip.py

4. You are done. If you are missing some python modules, you can install them using pip. An example command will be:

pip install bs4

That’s it! Now your python version is updated!

 

Leave a Reply