CS129 Project Instructions
- Install Miniconda
- Conda is a package manager that sandboxes your project’s dependencies in a virtual environment
- Miniconda contains Conda and its dependencies with no extra packages by default (as opposed to Anaconda, which installs some extra packages)
- Extract the zip file and run
conda env create -f environment.yml
from inside the extracted directory.
- This creates a Conda environment called
cs129proj
- Run
source activate cs129proj
- This activates the
cs129proj
environment
- Do this each time you want to write/test your code
- (Optional) If you use PyCharm:
- Open the
src
directory in PyCharm
- Go to
PyCharm
> Preferences
> Project
> Project interpreter
- Click the gear in the top-right corner, then
Add
- Select
Conda environment
> Existing environment
> Button on the right with …
- If you're using a different conda, the path below will be your other conda install.
- Select
/Users/YOUR_USERNAME/miniconda3/envs/cs129proj/bin/python
- Select
OK
then Apply
https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent