Re: [Tutor] trouble installing library

2013-04-24 Thread Dave Angel
On 04/24/2013 11:18 AM, Lolo Lolo wrote: Microsoft's C/C++ runtime only uses double quotes. So just change it to the following: >> python -c "import googlemaps" Thanks this solved the issue, now another issue has been thrown. Just not my day. after the 1st module error happens, they show

Re: [Tutor] trouble installing library

2013-04-24 Thread Lolo Lolo
>> Microsoft's C/C++ runtime only >> uses double quotes. So just change it to the following:     >> python -c "import googlemaps"   Thanks this solved the issue, now another issue has been thrown. Just not my day. after the 1st module error happens, they show the correct way to install google ma

Re: [Tutor] trouble installing library

2013-04-24 Thread Albert-Jan Roskam
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/acti

Re: [Tutor] trouble installing library

2013-04-24 Thread Mark Lybrand
What tutorial are you using BTW? On Wed, Apr 24, 2013 at 6:29 AM, eryksun wrote: > On Wed, Apr 24, 2013 at 8:51 AM, Lolo Lolo wrote: > > Thanks for the help guys > > > >>> Scripts\activate.bat is a relative path, assuming your current working > >>> directory is that of the virtual environment.

Re: [Tutor] trouble installing library

2013-04-24 Thread eryksun
On Wed, Apr 24, 2013 at 8:51 AM, Lolo Lolo wrote: > 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

Re: [Tutor] trouble installing library

2013-04-24 Thread eryksun
On Wed, Apr 24, 2013 at 4:56 AM, Mark Lawrence wrote: > I have an image of a user sitting at their keyboard staring at a console on > the ceiling :) I'm assuming you mean use a console/command prompt with > administrator privileges, am I correct? LOL... sorry for being unclear. I think the most

Re: [Tutor] trouble installing library

2013-04-24 Thread Lolo Lolo
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 differenc

Re: [Tutor] trouble installing library

2013-04-24 Thread Mark Lawrence
On 24/04/2013 03:01, eryksun wrote: On Tue, Apr 23, 2013 at 5:59 PM, Lolo Lolo wrote: found the activate file inside a folder name Scripts (instead of bin) and and tried the same command, but now i get this error: File "Scripts/activate", line 4 deactivate () { ^ Syn

Re: [Tutor] trouble installing library

2013-04-24 Thread Alan Gauld
On 24/04/13 04:01, Lolo Lolo wrote: >> Run Scripts\activate.bat Scripts\activate.bat ... returns this error: 'Scripts' is not recognized as an internal or external command, Check your spacing. It looks like you have a space between Scripts and activate somewhere. -- Alan G Author of the Lea

Re: [Tutor] trouble installing library

2013-04-23 Thread eryksun
On Tue, Apr 23, 2013 at 11:01 PM, Lolo Lolo wrote: > Scripts\activate.bat ... returns this error: > > 'Scripts' is not recognized as an internal or external command, > operable program or batch file. > it might want a program or command to run the bat fine Scripts\activate.bat is a relative path,

Re: [Tutor] trouble installing library

2013-04-23 Thread Lolo Lolo
>> Run Scripts\activate.bat if your shell is cmd, or Scripts\activate.ps1 >> if you're using PowerShell. These are shell scripts. Do not run them >> with Python. I have to get some sleep but i believe i got the installation in the right version it also insta

Re: [Tutor] trouble installing library

2013-04-23 Thread eryksun
On Tue, Apr 23, 2013 at 5:59 PM, Lolo Lolo wrote: > found the activate file inside a folder name Scripts (instead of bin) and > and tried the same command, but now i get this error: > > File "Scripts/activate", line 4 > deactivate () { > ^ > SyntaxError: invalid syntax Run

Re: [Tutor] trouble installing library

2013-04-23 Thread Alan Gauld
On 23/04/13 22:59, Lolo Lolo wrote: File "Scripts/activate", line 4 deactivate () { ^ SyntaxError: invalid syntax That's a bash/zsh script not a Python one. You will need to find a Windows equivalent bat file or cmd file or maybe wsh. No idea if such a thing exist

Re: [Tutor] trouble installing library

2013-04-23 Thread Lolo Lolo
>> The dot (.) command is used to source a file, It executes Unix like commands >> in bin/activate. Not relevant when  you're on windows. >> Is there a .bat or >> .cmd file instead?   oh i had no idea.. i found the activate file inside a folder name Scripts (instead of bin) and and tried the sam

Re: [Tutor] trouble installing library

2013-04-23 Thread Prasad, Ramit
Lolo Lolo wrote: [snip] > since im on windows i used dir instead of ls, but this line: > > $ . bin/activate > > is not recognised as a command. If i try to open it wth python cmd says no > such file or directory > [snip] Instead of trying `. bin/activate` try `bin/activate` (note the lack of "

Re: [Tutor] trouble installing library

2013-04-23 Thread Albert-Jan Roskam
Subject: Re: [Tutor] trouble installing library > >guys having got the install to work, a part of the process fails me.. the full >code instruction is: >  >$ virtualenv --no-site-packages gmapenv >$ cd gmapenv >$ ls >bin/  include/  lib/ >$ . bin/activate >

Re: [Tutor] trouble installing library

2013-04-23 Thread Lolo Lolo
guys having got the install to work, a part of the process fails me.. the full code instruction is:   $ virtualenv --no-site-packages gmapenv $ cd gmapenv $ ls bin/  include/  lib/ $ . bin/activate   since im on windows i used dir instead of ls, but this line:   $ . bin/activate   is not recog

Re: [Tutor] trouble installing library

2013-04-23 Thread Lolo Lolo
Thanks for your response guys:   >> what happens if you cd to the directory where you untarred the file, then >> run "python setup.py install"   This seems to have done the trick!   >> It's an honour to be communicating with the world's last Vista user ;-)))   lol And this was very uncalled for

Re: [Tutor] trouble installing library

2013-04-23 Thread Albert-Jan Roskam
ImportError: No module named virtualenv > >what happens if you cd to the directory where you untarred the file, then run >"python setup.py install"Did you download the right version (for Python3)? >Am i installing it correctly? can anyone offer any help? Im on Windows Vista, >and i have both pyt

Re: [Tutor] trouble installing library

2013-04-23 Thread Danny Yoo
According to the documentation in: http://www.virtualenv.org/en/latest/ and: https://pypi.python.org/pypi/virtualenv the "Installation" section in the documentation walks through what you need to do to install the software. Can you use Python's package managment system "pip" to handle

[Tutor] trouble installing library

2013-04-23 Thread Lolo Lolo
im not sure if anyone is familiar with virtualenv but im tryng to follow a tutorial that has asked me to install virtualenv. i downloaded it in the form of a tar file and extracted it. There was no .exe file to install. The tutorial  asks for me to type this code : $ virtualenv --no-site-package