dlsys course repository.
- Use pytest command line under homework/hw*
- In pycharm, right click directory, "make directory as Source root" has influence on pytest, if do hw2, should Unmark other hw*.
- Use vscode to write codes, and use pycharm to test or debug codes.
- if get error
ModuleNotFoundError: No module named 'needle', use commandexport PYTHONPATH=$PYTHONPATH:/home/zhuyangyang/Course/CMU10_414/homework/hw?/python, this will temporarily add the directory to the PYTHONPATH environment variable. - if use pycharm, make sure only make dir as source root that under current homework/hw*, and unmark dir as source root under other hw*.