-
Notifications
You must be signed in to change notification settings - Fork 35
Python
luissian edited this page Apr 1, 2019
·
4 revisions
For CentOS
CentOS 6.9 uses Python version 2.6.6. However, iSkyLIMS has been developed for Python version 3.6.4 .
To install this version you needs to download the source code of this version from python repository and compile it.
The following steps must be performed:
Download Python version 3.6.4
cd /opt
mkdir -p python/3.6.4
wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz
tar -xvf Python-3.6.4.tgz
cd Python-3.6.4
Python Installation
# Install without overriding previous python version
./configure --enable-shared --prefix=/opt/python/3.6.4
make install
Once the new version of Python installed, add the library to the path.
# Add library path to system library environment.
# A new line with: /opt/python/3.6.4/lib
vim /etc/ld.so.conf
# To activate execute
ldconfig
For Ubuntu
In case you use Ubuntu this gets lot easier:
apt-get install python3 python3-pip