-
Notifications
You must be signed in to change notification settings - Fork 35
Configure python virtualenv
luissian edited this page Apr 1, 2019
·
1 revision
Create a virtual environment to execute iSkyLIMS.
For CentOS:
cd /opt/python/3.6.4/bin
./pip3 install virtualenv
For Ubuntu:
pip3 install virtualenv
Once the virtual environment software is installed you need to activate it.
For CentOS:
cd /srv/iSkyLIMS
/opt/python/3.6.4/bin/virtualenv --python=/opt/python/3.6.4/bin/python3.6 virtualenv
For Ubuntu:
cd /srv/iSkyLIMS
virtualenv --python=/usr/bin/python3 virtualenv
To step into Python virtual environment, type:
source virtualenv/bin/activate
Install the required python packets executing the file which contains the packet list to be installed by typing:
pip install -r conf/pythonPackagesRequired.txt
deactivate