# Python pip install pipreqs pipreqs . # . is the directory which has python scripts - install all dependencies pip install -r requirements.txt --ignore-installed blinker python3 -m pip install --upgrage pip python3 -m pip install six==1.15.0 python3 -m pip uninstall grpcio-channelz python3 -m pip install pip-autoremove #uninstall with dependencies pip-autoremove grpcio-channelz #upgrade all packages pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U cd pip freeze | cut -d "@" -f1 | xargs pip uninstall -y #uninstall all ## venv python -m venv /path/to/myvenv/dir source /path/to/myvenv/dir/bin/activate ## jupyter - `jupyter kernelspec list` - tab to autocomplete ## emacs - install package jupyter, ob-ipython - follow llm ## pytorch tutorial ``` cd ~/workspace/jupyter source bin/activate jupyter notebook --ip 0.0.0.0 ```