You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# install the venv package sitewide
sudo python3.9 -m pip install virtualenv
cd /usr/local/share/
sudo mkdir venv
sudo chgrp allmodelers venv
sudo chmod g+w venv
python3.9 -m virtualenv hsp2dev_py10
chgrp allmodelers hsp2dev_py39/ -Rf
chmod g+w hsp2dev_py39/* -Rf
# now try to install and run hsp2
source /usr/local/share/venv/hsp2dev_py10/bin/activate
cd /opt/model/HSPsquared
sudo chown rob * -Rf # only had to do this due to prior installs done as root
pip3.9 install . # this went smoothly, no errors
# Run
cd ~/working/modeling/hsp2/land_spec/
Run model in venv
cd /opt/model/HSPsquared/
source /usr/local/share/venv/hsp2dev_py10/bin/activate
pip3.9 install .
# then run as per normal
rm PL3_5250_0001.h5
hsp2 import_uci PL3_5250_0001.uci PL3_5250_0001.h5
hsp2 run PL3_5250_0001.h5
The text was updated successfully, but these errors were encountered:
Create Virtual Env for python 3.9 on linux
Run model in venv
The text was updated successfully, but these errors were encountered: