[Tutor] VirutalEnv not working on Ubuntu server 9.10
kushal.kumaran+python at gmail.com
Thu May 3 08:59:02 CEST 2012
On Sun, Apr 29, 2012 at 7:34 PM, Marco Mistroni <mmistroni at gmail.com> wrote:
> HI all
> i have a VPS which is running Ubuntu server 9.10
> i have downloaded virtualenv 1.4.2 and installed it in a tmp directory
> i have created a environment for using googlemaps..
> i am able to download googlemaps package, but when i activate the
> environment , run python and type import googlemaps
> i receive the following error
> ImportError: no module caleld googlemaps
> ..BUt i have just imported it using pip install. here's output of doing pip
> install googlemaps
> Downloadign googlemaps-1.0.2
> Running setup.py install for googlemaps
> Successfully installed googlemaps
> yet, when i type pytyon and start to import googlemaps all i receive is an
> error that the package does not exist
> what am i missing?
Did you activate the virtualenv before installing the googlemaps
module? It is not clear from your email whether that was the case.
Look into the site-packages directory in your virtualenv and check if
googlemaps.py is present there.
More information about the Tutor