Commit dc055c14 authored by Forquet Nicolas's avatar Forquet Nicolas
Browse files

rename env.sh to create_virtual_environment.sh

Showing with 17 additions and 0 deletions
+17 -0
#!/bin/bash #!/bin/bash
# ensure that the libatlas-base-dev library is installed
sudo apt-get install -y libatlas-base-dev sudo apt-get install -y libatlas-base-dev
# Create the virtual environment
python3 -m venv ohmpy python3 -m venv ohmpy
source ohmpy/bin/activate || exit 1 # NOTE: Added || exit to avoid installing requirements in system python
# Activate it
source ohmpy/bin/activate || exit 1 # NOTE: Added || exit to avoid installing requirements in system python if the virtual environment can't be loaded
# Solve issues associated to storage allocation
export CFLAGS=-fcommon export CFLAGS=-fcommon
# install all required packages in the virtual environment.
pip install -r requirements.txt pip install -r requirements.txt
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment