Skip to content

Commit

Permalink
fix for Python 3.6 on CentOS 7
Browse files Browse the repository at this point in the history
  • Loading branch information
ra-at-diladele-com committed Aug 10, 2019
1 parent 466b428 commit 77c2e3f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scripts.centos7/04_apache.sh
Expand Up @@ -13,14 +13,12 @@ yum -y install httpd httpd-devel krb5-workstation mc
systemctl enable httpd.service

# install python 3 libs and compiler (needed for reportlab and pandas)
yum -y install python36 python36-devel

# install pip3
python3.6 -m ensurepip
yum install -y https://centos7.iuscommunity.org/ius-release.rpm
yum install -y python36u python36u-pip python36u-devel

# create symlinks for python 3.6 and pip3
ln -s /usr/bin/python3.6 /usr/bin/python3
ln -s /usr/local/bin/pip3 /usr/bin/pip3
ln -s /usr/bin/pip3.6 /usr/bin/pip3

# install python django for web ui
pip3 install django==2.1.2
Expand Down

0 comments on commit 77c2e3f

Please sign in to comment.