Skip to content

Cheat

conda

create env

conda create --name myenv python=3.8

copy env

conda create --name <new_env> --clone <env_to_clone>

pip

pip freeze bug

pip list --format=freeze > requirements.txt

pytorch

Install

  • https://pytorch.org/get-started/locally/
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch

pylint

generate .pylintrc

pylint --generate-rcfile > .pylintrc