Skip to content

Latest commit

 

History

History
32 lines (31 loc) · 605 Bytes

virtualenv.md

File metadata and controls

32 lines (31 loc) · 605 Bytes

Run from a virtual environment

Clone the repository

git clone https://github.com/monsta-hd/boltzmann-machines
cd boltzmann-machines/

Install virtualenv if needed

pip install virtualenv

Create virtual environment for the project

virtualenv .venv

Activate virtual environment

source .venv/bin/activate

Install the dependencies

pip install -r requirements.txt

deactivate and delete

If you are done working in the virtual environment, run

deactivate

To delete virtual environment, simply delete the folder

rm -rf .venv