Student-facing materials for CSSE/MA 473 Design and Analysis of Algorithms
(with thanks to Dr. Kyle Wilson for some tips, such as virtualenvwrapper
)
- Clone the
csse473
repository into an appropriate local (not OneDrive) directory. - Install Python 3.10+. Feel free to use pip or conda, whichever you prefer.
- (Recommended) Create a virtual Python environment for this course. Consider using
virtualenvwrapper
. Install instructions are here. This gives you easy-to-remember commands such as:
mkvirtualenv [envname] # new python environment
deactivate [envname] # leave the virtual environment
rmvirtualenv [envname] # delete a virtual environment
workon [envname] # load (or switch to) an environment
- Install the necessary Python libraries from
requirements.txt
. Using pip, this might look like
pip3 install -r ./requirements.txt
- If something seems buggy about your environment it's easy to get a fresh slate:
- deactivate your virtual environment
- delete it
- create a new blank one
- install the requirements.txt file