use requirements.txt in pycharm code example Example: pycharm requirements.txt pip freeze > requirements.txt