[Tutor] trouble installing library

Albert-Jan Roskam fomcl at yahoo.com
Wed Apr 24 16:12:23 CEST 2013


Subject: Re: [Tutor] trouble installing library


>
>Thanks for the help guys
> 
>>> Scripts\activate.bat is a relative path, assuming your current working
>>> directory is that of the virtual environment.
>
>your suggestion work. Initially i was doing Scripts/activate or Scripts/activate.bat. I guess it didnt like "/" and i didnt realise the difference. I have stumbled on a new error. The tutorial is aware i willl get an error because its explaining virtualenv. it wants me to type:
>
>$ virtualenv --no-site-packages gmapenv 
>$ cd gmapenv 
>$ ls 
>bin/  include/  lib/ 
>$ . bin/activate 
>$ python -c 'import googlemaps' 
>Traceback (most recent call last):              
>  File "<string>", line 1, in <module> 
>ImportError: No module named googlemaps                   <<<<<<<< error line
>
>so i get the import error, but when i type:
>
>
>It seems like you're almost there now. Instead of downloading the .tar.gz file, you might have also followed the following:
>http://stackoverflow.com/questions/4324558/whats-the-proper-way-to-install-pip-virtualenv-and-distribute-for-python
> 
>http  --> download it manually (no curl in windows?)://peak.telecommunity.com/dist/ez_setup.py
>python ez_setup.py
>easy_install pip
>pip install virtualenv


More information about the Tutor mailing list