Re: [Tutor] can't install

2013-12-31 Thread Lolo Lolo
On Sunday, December 29, 2013 9:11 PM, Tobias M. wrote: /bin/pyvenv ~/my_venv source ~/my_venv/bin/activate wget python-distribute.org/distribute_setup.py python distribute_setup.py Hi, can i ask why the name ~/my_venv/  .. is that just to indicate ~ as the home directory? so pyvenv alre

Re: [Tutor] can't install

2013-12-30 Thread eryksun
On Mon, Dec 30, 2013 at 7:42 PM, Tobias M. wrote: > Yes, '~' is your home directory. You can actually use this in your > shell instead of typing the whole path. The tilde shortcut is a C shell legacy inspired by the 1970s ADM-3A terminal, which had "Home" and tilde on the same key. Python has os.

Re: [Tutor] can't install

2013-12-30 Thread Tobias M.
Quoting Lolo Lolo : Hi, can i ask why the name ~/my_venv/  .. is that just to indicate ~ as the home directory? The name was just an example. Yes, '~' is your home directory. You can actually use this in your shell instead of typing the whole path. You probably want to put virtual enviro

Re: [Tutor] can't install

2013-12-29 Thread Tobias M.
Quoting "Tobias M." : Quoting Lolo Lolo : Hi Tobias can i just ask. As i already have Python 3.3, when i install this separate version of 3.3, will there be a conflict on the command line when i type python3.3? This install i want just for virtualenvs but i wonder if it would replace my

Re: [Tutor] can't install

2013-12-29 Thread Tobias M.
Quoting Lolo Lolo : Hi Tobias can i just ask. As i already have Python 3.3, when i install this separate version of 3.3, will there be a conflict on the command line when i type python3.3? This install i want just for virtualenvs but i wonder if it would replace my other 3.3 as the defa

Re: [Tutor] can't install

2013-12-29 Thread Lolo Lolo
On Wed, Dec 25, 2013 at 2:16 AM, Tobias M. wrote: > ./configure --prefix= > > where is a custom path (e.g. in your home directory) where you want > to install python. You can configure without the --prefix option, but if you > just want to use this python installation for virtuelenvs I would ins

Re: [Tutor] can't install

2013-12-25 Thread Lolo Lolo
>> On Wed, Dec 25, 2013 at 2:16 AM, Tobias M. wrote: >> Is this the error you get when executing distribute_setup.py? >> urllib.error.URLError: Thank you so much Tobias. And yes, that was the exact error message  >> On Tue, Dec 24, 2013 at 11:36 PM, Steven D'Aprano >>wrote: >> But the good n

Re: [Tutor] can't install

2013-12-24 Thread Tobias M.
On 24.12.2013 20:15, Lolo Lolo wrote: ive struggled all day to install pip on ubuntu 12.04 for python 3.3 . The only pip in the apt-get cache is for python 2. i tried to download pip from source but setuptools is missing when it tries to import it. This made me download setuptools with apt-get

Re: [Tutor] can't install

2013-12-24 Thread Steven D'Aprano
On Tue, Dec 24, 2013 at 11:15:36AM -0800, Lolo Lolo wrote: > ive struggled all day to install pip on ubuntu 12.04 for python 3.3 . All your questions are really about the Ubuntu packaging system, not learning Python. You may have better answers from an Ubuntu forum. I fear that the best I can

[Tutor] can't install

2013-12-24 Thread Lolo Lolo
ive struggled all day to install pip on ubuntu 12.04 for python 3.3 . The only pip in the apt-get cache is for python 2. i tried to download pip from source but setuptools is missing when it tries to import it. This made me download setuptools with apt-get but the version there is only for pytho

Re: [Tutor] Can't install latest PIL

2013-05-17 Thread eryksun
On Fri, May 17, 2013 at 3:23 AM, Jim Mooney wrote: > BTW, I noticed that Msoft Visual Studio has Python. Does that mean I > could made a standalone Win executable with Python, or would a user > still need the Py interpreter installed? It would be nice if you could > make an exe. Are you referring

Re: [Tutor] Can't install latest PIL

2013-05-17 Thread Jim Mooney
> If you see a syntax error, that means your code could not be compiled. > Python's parser doesn't grok "import image from pil". In natural > language we have the freedom to swap the order of clauses, but > programming languages are generally more rigid. The correct order is > "from pil import imag

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread eryksun
On Thu, May 16, 2013 at 6:12 PM, Jim Mooney wrote: > I tried "import image from pil" and got the following error: > SyntaxError invalid syntax (python_init.py, line 1) If you see a syntax error, that means your code could not be compiled. Python's parser doesn't grok "import image from pil". In

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread Jim Mooney
On 16 May 2013 16:11, James Reynolds wrote: > You may want to consider pillow. Oil hasn't been maintained in some time. Actually, I installed Pillow. But then I deleted everything and started over with 32 bit. I got greedy figuring I'd get the fastest Py with 64 bit, but there are too many kludge

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread James Reynolds
You may want to consider pillow. Oil hasn't been maintained in some time. On May 16, 2013 6:12 PM, "Jim Mooney" wrote: > Make sure you have the correct architecture. The builds from > PythonWare are 32-bit. Christoph Gohlke has 64-bit builds here: > > http://www.lfd.uci.edu/~gohlke/pythonlibs/#p

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread Jim Mooney
Make sure you have the correct architecture. The builds from PythonWare are 32-bit. Christoph Gohlke has 64-bit builds here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil == Okay, I installed the 64 bit for Py 2.7, it installed, I see PIL directory in Site-Packages. (Actually, it's the Pillow f

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread Walter Prins
Hi, On 16 May 2013 07:12, Jim Mooney wrote: > Okay, I'm trying to install the latest PIL on win 7. It claims Python > 2.7 was not found in the registry, although it's installed, on a path, > and works fine. The install box lets you type in a directory but won't > accept typing. I'm stumped. A

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread eryksun
On Thu, May 16, 2013 at 2:12 AM, Jim Mooney wrote: > Okay, I'm trying to install the latest PIL on win 7. It claims Python > 2.7 was not found in the registry, although it's installed, on a path, > and works fine. The install box lets you type in a directory but won't > accept typing. I'm stumped.

[Tutor] Can't install latest PIL

2013-05-15 Thread Jim Mooney
Okay, I'm trying to install the latest PIL on win 7. It claims Python 2.7 was not found in the registry, although it's installed, on a path, and works fine. The install box lets you type in a directory but won't accept typing. I'm stumped. I guess the way around this is to know what I have to put