Reputation: 11331
I installed django and want to specify its path in my mac, and I put the path into .profile and also checked with $PATH to ensure that is specified. However, when I go to python's environment and type import django, it cannot find. Have no idea about that. Any suggestions?
Upvotes: 0
Views: 1076
Reputation: 13344
It needs to go in $PYTHONPATH
instead. Create that variable if it's not already defined.
Upvotes: 1