Reputation: 6577
I am installing python and Django on my shared host server. I have followed the guide located here to install python and pip
http://flailingmonkey.com/install-django-justhost/
As I've encountered the problem of python never using 3.4.2 I've followed a different guide to install python 3.4.2 which is here
http://joemaller.com/1717/building-python-on-shared-hosting/
After I installed python, I went back to follow the first guide to instlall setup tools and pip.
I've ran all the commands it said and when I look inside python3.4.2/bin folder I see pip pip3 and pip3.4 files there so that tells me that pip was installed. However whenever I try to use pip instlal Django it says -bash: pip: command not found. I'm just wondering if I am missing a step somewhere?
Upvotes: 2
Views: 167
Reputation: 180502
The path is set incorrectly so adding so add the following to .bashrc:
export PATH=$HOME/opt/python3.4.2/bin:$PATH
And then source ~/.bashrc
.
Upvotes: 1
Reputation: 1175
You could try to write this in consol to install pip
easy_install pip
Upvotes: 0