generate requirement file in pycharm for python code example Example: pycharm requirements.txt pip freeze > requirements.txt