- open a Terminal (mac) or run PowerShell (win)
- change directory to your desired path
example: cd /Users/xxx/Desktop/
git clone https://github.com/Aldo23/urban-panopticon.git
cd urban-panopticon
- with only Python3 installed
python -m venv env
- if Python2 and Python3 installed
python3 -m venv env
- mac:
source /env/bin/activate
- win:
.\env\Scripts\activate
- install dependencies
pip install -r requirements.txt
- Change directory in the Terminal/PowerShell to repository folder
- Activate your virtual environment (as explained above)
- type
jupyter notebook
- if
.\env\Scripts\activate
fails to run in Windows- make sure you run Powershell as Administrator
Set-ExecutionPolicy RemoteSigned
y
.\env\Scripts\activate