Allan Jiang
Allan Jiang

Reputation: 11331

Django path in Mac OS X

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

Answers (1)

We Are All Monica
We Are All Monica

Reputation: 13344

It needs to go in $PYTHONPATH instead. Create that variable if it's not already defined.

Upvotes: 1

Related Questions