Pip freeze#205
Merged
Merged
Conversation
added 2 commits
November 30, 2014 13:20
Lots of our students got the impression that "pip freeze > filename" was the standard way of creating a file from the shell, which caused some really confusing problems later on!
We had a surprising number of students who created runtime.txt with the `pip freeze > runtime.txt` method, and then added a Python version at the end. This caused endless confusion when Heroku told them that (Django==1.7.1 dj-database-url==0.3.0 waitress==0.8.9 whitenoise==1.0.5 psycopg2==2.5.3 python-3.4.2) was not a runtime supported by the cedar-14 stack - at one point we had five coaches standing around one poor student trying to work out what had gone wrong! I've tried to make it clearer that - you create runtime.txt using your editor - only the python version should be included in the file I've also removed the word "simply" from these instructions in line with the Coaching Guide.
Member
|
Very good change, thanks! |
Contributor
Author
|
Thanks for updating this @pozorvlak - the errors seems so glaringly obvious now but it confused me and three other coaches for quite a while. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lots of our students got the impression that "pip freeze > filename" was the standard way of creating a file from the shell, which caused some really confusing problems later on. In particular, a surprising number of students created runtime.txt by running
pip freeze > runtime.txtmethod, and then adding a Python version at the end. This caused endless confusion when Heroku told them that(Django==1.7.1
dj-database-url==0.3.0
waitress==0.8.9
whitenoise==1.0.5
psycopg2==2.5.3
python-3.4.2) was not a runtime supported by the cedar-14 stack - at one point we had five coaches standing around one poor student trying to work out what had gone wrong!
I've tried to make it clearer that
>operator performs output redirectionpip freezeisn't really a file-creation commandI've also removed the word "simply" from this part of the instructions in line with the Coaching Guide.