sandiegopython / test-driven-django-development

This repository contains materials for a San Diego Python workshop on learning Django with test inspired development
http://test-driven-django-development.readthedocs.org/
Other
102 stars 35 forks source link

Getting Started - use pip3 for installing Django #147

Closed willingc closed 9 years ago

willingc commented 9 years ago

It would be better to use pip3 command than just pip when installing Django. Users with multiple versions of Python 2 and 3 on their system would be affected depending on their site-packages installation.

Consider using python3 too.

willingc commented 9 years ago

Perhaps not. Doing a bit more research here. Perhaps best to default to Harry's instructions.

willingc commented 9 years ago

Link to Harry's book and Python3 intro: http://chimera.labs.oreilly.com/books/1234000000754/pr02.html#_python_3_and_programming

riseriyo commented 9 years ago

I believe Pip is now shpped with Python 3.4. https://docs.python.org/3/whatsnew/3.4.html

On Fri, Nov 7, 2014 at 8:13 AM, Carol Willing notifications@github.com wrote:

Link to Harry's book and Python3 intro:

http://chimera.labs.oreilly.com/books/1234000000754/pr02.html#_python_3_and_programming

— Reply to this email directly or view it on GitHub https://github.com/pythonsd/test-driven-django-development/issues/147#issuecomment-62168006 .

Ms. Rise Riyo


“Named must your fear be before banish it you can.” - Yoda

willingc commented 9 years ago

@riseriyo Technically, pip is included with Python 3.4. Practically, it isn't quite that simple. There have been issues if Python 3.4 was installed via Homebrew, pyenv, or pythonz of pip not being available. It's fine to keep pip in the tutorial, but mentors should be aware that depending on installation method and path settings it could be not quite as simple as "hey it's there now" :-)

willingc commented 9 years ago

I'm going to close this since there really isn't an action related to the tutorial doc.

riseriyo commented 9 years ago

Agreed. I have HomeBrew on one of my Macs and had a hard time setting up Python 3 and Python 2 to work properly last night with paths, etc. I had to uninstall and reinstall both before both worked properly -- using virtualenv and virtualenvwrapper... Plz close.

On Sun, Nov 9, 2014 at 10:46 AM, Carol Willing notifications@github.com wrote:

I'm going to close this since there really isn't an action related to the tutorial doc.

— Reply to this email directly or view it on GitHub https://github.com/pythonsd/test-driven-django-development/issues/147#issuecomment-62314063 .

Ms. Rise Riyo


“Named must your fear be before banish it you can.” - Yoda