[Tutor] VirutalEnv not working on Ubuntu server 9.10 / sorted

Joel Goldstick joel.goldstick at gmail.com
Sun Apr 29 18:06:34 CEST 2012


On Sun, Apr 29, 2012 at 10:28 AM, Marco Mistroni <mmistroni at gmail.com> wrote:
> Hello
>   sorry to bother , found out hte problem. the imported packages work if i
> run python from the /bin directory of the virtualenv  environment i have
> created
>
> w/kindest regards
>  marco
>
> On Sun, Apr 29, 2012 at 3:04 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?
>>
>> w/kindest regards
>>  marco
>>
>>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
Did you know the current version is: virtualenv 1.7.1.2

They changed the default options so that site packages are not used by default
-- 
Joel Goldstick


More information about the Tutor mailing list