Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Django on Bluehost

I'm wanting to use django on bluehost, and I've gotten as far as installing python 2.7, then running python get-pip.pyto install / update pip. And now hoping to install virtualenv; the instructions say to run sudo pip install virtualenv but neither the sudo or non-sudo version of this command works.

Sudo is flat out not permitted on Bluehost's shared hosting environment, and when I type pip, I get command not found. So I am to assume pip is still not installed, despite the successful execution of python get-pip.py

When I type which pip I get nothing, while which easy_install gives me a path.

So is it there? I'm quite confused.

I've been stuck for some time. Help is much appreciated.

like image 698
PrintF Avatar asked Nov 08 '22 19:11

PrintF


1 Answers

The following command works for me when I want to run pip:

python -m pip install <package_name>
like image 136
Syed H Avatar answered Nov 15 '22 09:11

Syed H