How To Install Which Programs Requires "sudo" In Virtualenv?
I'm trying to install kivy, in the docs it says: $ sudo apt-get install python-setuptools python-pygame python-opengl \ python-gst0.10 python-enchant gstreamer0.10-plugins-good c
Solution 1:
I do not think you can get around installing kivy's dependent packages without sudo/root access.
Once you have them installed, follow steps outlined in Andrew's answer.
Solution 2:
when you use virtualenv and start it running, you can use the easy_install / pip that is installed there. that doesn't require sudo because it installs directly to virtualenv.
in other words - it just works. have you tried it?
there's a simple example here http://www.arthurkoziel.com/2008/10/22/working-virtualenv/
sudo easy_install virtualenv
(the last sudo you need)virtualenv kivydir
source kivydir/bin/activate
easy_install kivy
(installs to kivydir)
Post a Comment for "How To Install Which Programs Requires "sudo" In Virtualenv?"