I am on Sierra, and /usr/bin/python -V gives me 2.7.10 even though python -V gives me 2.7.13 (via brew). Thirdly, getting to a solution, are you sure you really upgraded system python to begin with? If you enter the command: which python, do you get /usr/bin/python (system) or /usr/local/bin/python (brew installed user-land python). Regardless, virtualenv would be your answer in that situation. If you needed 2.6, it would make more sense. All pythons with the same minor revision number (2.7) should be compatible. Secondly, I am unclear why you need 2.7.10 instead of 2.7.13. You need to assume that system utilities require a specific version of system python, and your user land code will be locked to that forever, which is not wise. First, never rely on system python for your user land code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |