I ran python and checked the version number. This is what I get:

[-bash-3.2 root@server1: ~] # python
Python 2.5 (r25:51908, Aug 20 2012, 11:55:47)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

When I run "import django" I get:

>>> import django
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named django


I assumed this was normal since the guide I'm following has all of the 
django setup in the user's home directory. Is this the problem? I will keep 
looking into it, the guide had me enter export 
PYTHONPATH='$PYTHONPATH:/home/username/sites/domain.com' in the user's 
.bash_profile, since I am logged in as root should I add that to the 
/root/.bash_profile?

On Monday, August 27, 2012 9:51:22 AM UTC-4, Bestrafung wrote:
>
> Thank you all for the tips. I was pretty sure I tried using the full path 
> to the 2.5 install with the same error but I'll check again. I'll let you 
> know what I find.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/DVeH65k8aUcJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to