- Install dev tools and git and your favorite editor (emacs/vs code for me). These are installed by default in desk18
- Create a private repository for this course on github, it should be called ai-mavuser, so the url to the new repo is
https://github.com/gituser/ai-mavuser
- Clone this repository (ai-spring2020-public) and your repository (ai-mavuser) locally. I work in the
~/projects
directory. - Install conda (desk18 has that installed as well)
- Create a local envirnoment for python using python
conda create -p env pytorch torchvision -c pytorch
- Copy py3hello from my wmacevoy/csci000-astudent project to your project
cp -r ../ai-spring2020-public/py3hello .
- To activate the virtual environment in the project directory
conda activate ./env
- From there you should be able to run the hello test in the project directory
py3hello/hellotest/hellotest.py
In the project home directory, type
conda create -p ./pypy-env -c conda-forge pypy3.6
You can then activate this environment with
conda activate ./pypy-env
This gives you something that should be python 3.6 compatible (but much faster), to run a command use pypy3
instead of python