how to create requirements.txt spyder code example Example: how to get requirements .txt pip freeze > requirements.txt