Ok, so I'm working with the docs at: http://docs.webfaction.com/software/python.html#installing-packages-with-pip I already had them correct it once, the word install was missing after pip-X.Y. This tells me that not many people actually use pip. When I tried to install an app into one of my existing app directories it ended up in my home directories. As far as I know, there's no equivalent for the --install-dir option and I'm not sure if a --script-dir type option would be necessary either, as there are for easy_install. Anyway, has anyone successfully used pip to install into an app directory? asked 12 Jul '11, 19:56 Rupe |
This should work, given "foo" as your app name, "bar" as your package name, and assuming you've installed pip with "easy_install-2.7 pip":
Hope that helps! answered 12 Jul '11, 20:05 seanf that did it, do you want to submit the ticket to fix the docs, or should I ;o)
(12 Jul '11, 20:16)
Rupe
Actually, by your avatar it appears you're an employee. I bet you can take care of it, yes?
(12 Jul '11, 20:21)
Rupe
Ticket submitted.
(12 Jul '11, 20:37)
johns
We'll add something to our docs soon. You can also use "
(13 Jul '11, 20:40)
seanf
Wow, what a PITA
(15 Nov '11, 19:39)
redseam
This only works if you don't already have the package installed via pip at
(03 Oct '14, 17:39)
teewuane
@teewuane, this answer on stackoverflow addresses that probem: http://stackoverflow.com/questions/19548957/can-i-force-pip-to-reinstall-the-current-version
(04 Oct '14, 19:22)
tiarno
showing 5 of 7
show 2 more comments
|