How to install python packages using pip on go daddy linux hosting (don't have root access)









up vote
0
down vote

favorite












Could you tell me how to install packages using pip on Go daddy Linux hosted server. It doesn't provide root access.
When I try to install some python package



pip install numpy


it shows:



-bash: pip: command not found


It is giving my Python 2.6.6 and the location is:



/usr/bin/python


Is there any hack for it?










share|improve this question

















  • 1




    You don't have pip installed
    – anon
    Jul 28 '17 at 5:42










  • Sorry. But I don't know how to check it. I would like to correct one thing. Python and its site-packages are in "lib/python2.6/site-packages"
    – Prasad
    Jul 28 '17 at 5:48











  • I copied pip folder from my local computer to this site-packages folder. Still it didn't work
    – Prasad
    Jul 28 '17 at 5:50










  • try virtualenv if available in python module or manage to install python setup tools
    – Gahan
    Jul 28 '17 at 5:50










  • How to install pip in go daddy? I think I may not be able to install any package because of the restriction of root
    – Prasad
    Jul 28 '17 at 5:51














up vote
0
down vote

favorite












Could you tell me how to install packages using pip on Go daddy Linux hosted server. It doesn't provide root access.
When I try to install some python package



pip install numpy


it shows:



-bash: pip: command not found


It is giving my Python 2.6.6 and the location is:



/usr/bin/python


Is there any hack for it?










share|improve this question

















  • 1




    You don't have pip installed
    – anon
    Jul 28 '17 at 5:42










  • Sorry. But I don't know how to check it. I would like to correct one thing. Python and its site-packages are in "lib/python2.6/site-packages"
    – Prasad
    Jul 28 '17 at 5:48











  • I copied pip folder from my local computer to this site-packages folder. Still it didn't work
    – Prasad
    Jul 28 '17 at 5:50










  • try virtualenv if available in python module or manage to install python setup tools
    – Gahan
    Jul 28 '17 at 5:50










  • How to install pip in go daddy? I think I may not be able to install any package because of the restriction of root
    – Prasad
    Jul 28 '17 at 5:51












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Could you tell me how to install packages using pip on Go daddy Linux hosted server. It doesn't provide root access.
When I try to install some python package



pip install numpy


it shows:



-bash: pip: command not found


It is giving my Python 2.6.6 and the location is:



/usr/bin/python


Is there any hack for it?










share|improve this question













Could you tell me how to install packages using pip on Go daddy Linux hosted server. It doesn't provide root access.
When I try to install some python package



pip install numpy


it shows:



-bash: pip: command not found


It is giving my Python 2.6.6 and the location is:



/usr/bin/python


Is there any hack for it?







python linux pip






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 28 '17 at 5:37









Prasad

9829




9829







  • 1




    You don't have pip installed
    – anon
    Jul 28 '17 at 5:42










  • Sorry. But I don't know how to check it. I would like to correct one thing. Python and its site-packages are in "lib/python2.6/site-packages"
    – Prasad
    Jul 28 '17 at 5:48











  • I copied pip folder from my local computer to this site-packages folder. Still it didn't work
    – Prasad
    Jul 28 '17 at 5:50










  • try virtualenv if available in python module or manage to install python setup tools
    – Gahan
    Jul 28 '17 at 5:50










  • How to install pip in go daddy? I think I may not be able to install any package because of the restriction of root
    – Prasad
    Jul 28 '17 at 5:51












  • 1




    You don't have pip installed
    – anon
    Jul 28 '17 at 5:42










  • Sorry. But I don't know how to check it. I would like to correct one thing. Python and its site-packages are in "lib/python2.6/site-packages"
    – Prasad
    Jul 28 '17 at 5:48











  • I copied pip folder from my local computer to this site-packages folder. Still it didn't work
    – Prasad
    Jul 28 '17 at 5:50










  • try virtualenv if available in python module or manage to install python setup tools
    – Gahan
    Jul 28 '17 at 5:50










  • How to install pip in go daddy? I think I may not be able to install any package because of the restriction of root
    – Prasad
    Jul 28 '17 at 5:51







1




1




You don't have pip installed
– anon
Jul 28 '17 at 5:42




You don't have pip installed
– anon
Jul 28 '17 at 5:42












Sorry. But I don't know how to check it. I would like to correct one thing. Python and its site-packages are in "lib/python2.6/site-packages"
– Prasad
Jul 28 '17 at 5:48





Sorry. But I don't know how to check it. I would like to correct one thing. Python and its site-packages are in "lib/python2.6/site-packages"
– Prasad
Jul 28 '17 at 5:48













I copied pip folder from my local computer to this site-packages folder. Still it didn't work
– Prasad
Jul 28 '17 at 5:50




I copied pip folder from my local computer to this site-packages folder. Still it didn't work
– Prasad
Jul 28 '17 at 5:50












try virtualenv if available in python module or manage to install python setup tools
– Gahan
Jul 28 '17 at 5:50




try virtualenv if available in python module or manage to install python setup tools
– Gahan
Jul 28 '17 at 5:50












How to install pip in go daddy? I think I may not be able to install any package because of the restriction of root
– Prasad
Jul 28 '17 at 5:51




How to install pip in go daddy? I think I may not be able to install any package because of the restriction of root
– Prasad
Jul 28 '17 at 5:51












1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










You don't have pip installed. To install pip run this



easy_install --user pip



This will install pip for only you, without root access. If you don't have 'easy_installed' installed, you can run this to install pip without it



wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user



pip will be installed in .local/bin, to access it just use
.local/bin/pip install numpy



To add pip to your PATH, so that you could access it like pip install numpy



execute this command:



echo "PATH=$PATH:~/.local/bin" >> ~/.bashrc



and then this:



source ~/.bashrc






share|improve this answer
















  • 1




    Or you could also do echo alias pip=./local/bin/pip >> ~/.bashrc and then source ~/.bashrc and to install anything after just do pip install xxx
    – anon
    Jul 28 '17 at 6:00










  • Hey, pip has been installed but it is giving this error: DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 Cannot uninstall requirement django, not installed
    – Prasad
    Jul 28 '17 at 6:04










  • @Prasad follow this: thelazylog.com/install-python-as-local-user-on-linux
    – Muhammad Asif
    Jul 28 '17 at 6:07











  • I have installed few packages. thank you very much. but not able to install django which is the main reason behind installing pip
    – Prasad
    Jul 28 '17 at 6:09










  • When i try to pip install django it gives the following error
    – Prasad
    Jul 28 '17 at 6:09










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f45365604%2fhow-to-install-python-packages-using-pip-on-go-daddy-linux-hosting-dont-have-r%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










You don't have pip installed. To install pip run this



easy_install --user pip



This will install pip for only you, without root access. If you don't have 'easy_installed' installed, you can run this to install pip without it



wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user



pip will be installed in .local/bin, to access it just use
.local/bin/pip install numpy



To add pip to your PATH, so that you could access it like pip install numpy



execute this command:



echo "PATH=$PATH:~/.local/bin" >> ~/.bashrc



and then this:



source ~/.bashrc






share|improve this answer
















  • 1




    Or you could also do echo alias pip=./local/bin/pip >> ~/.bashrc and then source ~/.bashrc and to install anything after just do pip install xxx
    – anon
    Jul 28 '17 at 6:00










  • Hey, pip has been installed but it is giving this error: DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 Cannot uninstall requirement django, not installed
    – Prasad
    Jul 28 '17 at 6:04










  • @Prasad follow this: thelazylog.com/install-python-as-local-user-on-linux
    – Muhammad Asif
    Jul 28 '17 at 6:07











  • I have installed few packages. thank you very much. but not able to install django which is the main reason behind installing pip
    – Prasad
    Jul 28 '17 at 6:09










  • When i try to pip install django it gives the following error
    – Prasad
    Jul 28 '17 at 6:09














up vote
3
down vote



accepted










You don't have pip installed. To install pip run this



easy_install --user pip



This will install pip for only you, without root access. If you don't have 'easy_installed' installed, you can run this to install pip without it



wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user



pip will be installed in .local/bin, to access it just use
.local/bin/pip install numpy



To add pip to your PATH, so that you could access it like pip install numpy



execute this command:



echo "PATH=$PATH:~/.local/bin" >> ~/.bashrc



and then this:



source ~/.bashrc






share|improve this answer
















  • 1




    Or you could also do echo alias pip=./local/bin/pip >> ~/.bashrc and then source ~/.bashrc and to install anything after just do pip install xxx
    – anon
    Jul 28 '17 at 6:00










  • Hey, pip has been installed but it is giving this error: DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 Cannot uninstall requirement django, not installed
    – Prasad
    Jul 28 '17 at 6:04










  • @Prasad follow this: thelazylog.com/install-python-as-local-user-on-linux
    – Muhammad Asif
    Jul 28 '17 at 6:07











  • I have installed few packages. thank you very much. but not able to install django which is the main reason behind installing pip
    – Prasad
    Jul 28 '17 at 6:09










  • When i try to pip install django it gives the following error
    – Prasad
    Jul 28 '17 at 6:09












up vote
3
down vote



accepted







up vote
3
down vote



accepted






You don't have pip installed. To install pip run this



easy_install --user pip



This will install pip for only you, without root access. If you don't have 'easy_installed' installed, you can run this to install pip without it



wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user



pip will be installed in .local/bin, to access it just use
.local/bin/pip install numpy



To add pip to your PATH, so that you could access it like pip install numpy



execute this command:



echo "PATH=$PATH:~/.local/bin" >> ~/.bashrc



and then this:



source ~/.bashrc






share|improve this answer












You don't have pip installed. To install pip run this



easy_install --user pip



This will install pip for only you, without root access. If you don't have 'easy_installed' installed, you can run this to install pip without it



wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user



pip will be installed in .local/bin, to access it just use
.local/bin/pip install numpy



To add pip to your PATH, so that you could access it like pip install numpy



execute this command:



echo "PATH=$PATH:~/.local/bin" >> ~/.bashrc



and then this:



source ~/.bashrc







share|improve this answer












share|improve this answer



share|improve this answer










answered Jul 28 '17 at 5:52









Muhammad Asif

1839




1839







  • 1




    Or you could also do echo alias pip=./local/bin/pip >> ~/.bashrc and then source ~/.bashrc and to install anything after just do pip install xxx
    – anon
    Jul 28 '17 at 6:00










  • Hey, pip has been installed but it is giving this error: DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 Cannot uninstall requirement django, not installed
    – Prasad
    Jul 28 '17 at 6:04










  • @Prasad follow this: thelazylog.com/install-python-as-local-user-on-linux
    – Muhammad Asif
    Jul 28 '17 at 6:07











  • I have installed few packages. thank you very much. but not able to install django which is the main reason behind installing pip
    – Prasad
    Jul 28 '17 at 6:09










  • When i try to pip install django it gives the following error
    – Prasad
    Jul 28 '17 at 6:09












  • 1




    Or you could also do echo alias pip=./local/bin/pip >> ~/.bashrc and then source ~/.bashrc and to install anything after just do pip install xxx
    – anon
    Jul 28 '17 at 6:00










  • Hey, pip has been installed but it is giving this error: DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 Cannot uninstall requirement django, not installed
    – Prasad
    Jul 28 '17 at 6:04










  • @Prasad follow this: thelazylog.com/install-python-as-local-user-on-linux
    – Muhammad Asif
    Jul 28 '17 at 6:07











  • I have installed few packages. thank you very much. but not able to install django which is the main reason behind installing pip
    – Prasad
    Jul 28 '17 at 6:09










  • When i try to pip install django it gives the following error
    – Prasad
    Jul 28 '17 at 6:09







1




1




Or you could also do echo alias pip=./local/bin/pip >> ~/.bashrc and then source ~/.bashrc and to install anything after just do pip install xxx
– anon
Jul 28 '17 at 6:00




Or you could also do echo alias pip=./local/bin/pip >> ~/.bashrc and then source ~/.bashrc and to install anything after just do pip install xxx
– anon
Jul 28 '17 at 6:00












Hey, pip has been installed but it is giving this error: DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 Cannot uninstall requirement django, not installed
– Prasad
Jul 28 '17 at 6:04




Hey, pip has been installed but it is giving this error: DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 Cannot uninstall requirement django, not installed
– Prasad
Jul 28 '17 at 6:04












@Prasad follow this: thelazylog.com/install-python-as-local-user-on-linux
– Muhammad Asif
Jul 28 '17 at 6:07





@Prasad follow this: thelazylog.com/install-python-as-local-user-on-linux
– Muhammad Asif
Jul 28 '17 at 6:07













I have installed few packages. thank you very much. but not able to install django which is the main reason behind installing pip
– Prasad
Jul 28 '17 at 6:09




I have installed few packages. thank you very much. but not able to install django which is the main reason behind installing pip
– Prasad
Jul 28 '17 at 6:09












When i try to pip install django it gives the following error
– Prasad
Jul 28 '17 at 6:09




When i try to pip install django it gives the following error
– Prasad
Jul 28 '17 at 6:09

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f45365604%2fhow-to-install-python-packages-using-pip-on-go-daddy-linux-hosting-dont-have-r%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

政党

天津地下鉄3号線