Skip to content
luissian edited this page Mar 31, 2019 · 4 revisions

Installation of Python

CentOS 6.9 uses Python version 2.6.6. However, iSkyLIMS has been developed for Python version 3. As a result, version 3.6.4 is required for iSkyLIMS to work. This new version we are going to install will not delete the existing version in the virtual machine: both will be available. To accomplish this, the following steps must be performed: Download of 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

Installation of Python

# Install without overriding previous python version
./configure --enable-shared --prefix=/opt/python/3.6.4
make install

Once the new version of Python installed, the library has to be added 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

In case you use Ubuntu this gets lot easier:

apt install python3 python3-pip
Clone this wiki locally