Zach O'Brien
This project was developed with Python version 3.10.5. You can attempt to install the packages and run the code with a different version of Python and it might work, but using version 3.10.5 is probably best.
-
Install Python version 3.10.5 and use that version for the following steps
-
Create a new virtual environment for this project
python3 -m venv env/
-
Activate the virtual environment
# On windows: env\Scripts\activate.bat
# On Linux or MacOS: source env/bin/activate
-
Install dependencies
On Apple silicon:
# With the env/ virtual environment activated: python -m pip install -r requirements-apple-silicon.txt
On all other platforms, including intel-based macs:
# With the env/ virtual environment activated: python -m pip install -r requirements.txt
-
Create a new kernel for this environment to use with the Jupyter Notebook
# With env/ virtual environment activated python -m ipykernel install --user --name bikeshare_modelling
-
Open Jupyter Lab
# With the env/ virtual environment activated: jupyter-lab