Re: MacPorts installation, Django $PATH issue

2010-05-11 Thread Walter Scheper
The quick answer for MacPorts python: 1) Edit the file /Users//.bash_profile. Add the following line below the line "export ENV", or to the end of the file if you don't see that line: "export PATH=/opt/local/bin:/opt/local/sbin:$PATH" 2) At the command prompt run "python_select -l" This will sh

Re: MacPorts installation, Django $PATH issue

2010-05-10 Thread HelloWorld
So for future users who have the same problem. I uninstalled the macports version of django with this: sudo port -f uninstall and then reinstalled with easy setup which automatically puts the django package in the correct place. Now everything worked as described in the tutorial. Could be wor

Re: MacPorts installation, Django $PATH issue

2010-05-10 Thread HelloWorld
Thanks a lot backdoc!! I found the site packages you mentioned, but neither Python 2.5 nor 2.6 have any django in it. I know that on the commandline it is running version 2.5 and django is freshly installed and so could need 2.6. How could I install it there? I start to think the Macports install

Re: MacPorts installation, Django $PATH issue

2010-05-06 Thread backdoc
Type "which python" at the command line as your regular user. Then, look at /usr/bin/python*, /usr/lib, /usr/local/bin/python* and /usr/local/lib. Find where the site-packages for Django are located. Make sure that "which python" is pointing to the correct version. Sounds like Django is not in