Re: import urllib2 fails with Python 2.6.1 on Vista

2009-01-19 Thread Scott MacDonald
I think I set it a long time ago to get the python VTK bindings working... On Mon, Jan 19, 2009 at 5:58 AM, Gabriel Genellina wrote: > En Sun, 18 Jan 2009 16:08:07 -0200, Scott MacDonald < > scott.p.macdon...@gmail.com> escribió: > > Ah yes, with your help I seem to have solved my own problem.

Re: import urllib2 fails with Python 2.6.1 on Vista

2009-01-19 Thread Gabriel Genellina
En Sun, 18 Jan 2009 16:08:07 -0200, Scott MacDonald escribió: Ah yes, with your help I seem to have solved my own problem. I had PYTHONPATH defined to point to the 2.5 directory. Best to avoid setting PYTHONPATH at all. If you install new packages into a standard place like site-packages

Re: import urllib2 fails with Python 2.6.1 on Vista

2009-01-19 Thread Gabriel Genellina
En Sun, 18 Jan 2009 16:08:07 -0200, Scott MacDonald escribió: Ah yes, with your help I seem to have solved my own problem. I had PYTHONPATH defined to point to the 2.5 directory. Best to avoid setting PYTHONPATH at all. If you install new packages into a standard place like site-packages

Re: import urllib2 fails with Python 2.6.1 on Vista

2009-01-18 Thread Scott MacDonald
Ah yes, with your help I seem to have solved my own problem. I had PYTHONPATH defined to point to the 2.5 directory. Thanks! Scott On Sun, Jan 18, 2009 at 11:01 AM, Scott MacDonald < scott.p.macdon...@gmail.com> wrote: > Yes, I see your point. Not sure how that would happen. It is possible to

Re: import urllib2 fails with Python 2.6.1 on Vista

2009-01-18 Thread Scott MacDonald
Yes, I see your point. Not sure how that would happen. It is possible to have multiple versions of python on the same machine I assume? During the installation I have specified the directory to install python in, otherwise I have not changed anything. Could it be an environment variable or some

Re: import urllib2 fails with Python 2.6.1 on Vista

2009-01-17 Thread Gabriel Genellina
En Sat, 17 Jan 2009 17:13:00 -0200, Scott MacDonald escribió: I googled a bit this morning search for an answer to this problem but have come up empty so far. Can anyone help? Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit ^ (Intel)] on win32 Type "help"

import urllib2 fails with Python 2.6.1 on Vista

2009-01-17 Thread Scott MacDonald
I googled a bit this morning search for an answer to this problem but have come up empty so far. Can anyone help? Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import urllib2 Traceba