Which version of eclipse/pydev are you using?
Also, the pythonpath didn't come through... Does it work from the
command line (provided you set the PYTHONPATH as specified?)
Can you paste your launch (to do that, go to the launch, in the run
dialog: common tab and select 'shared file' and specify a location to
save the launch).

Cheers,

Fabio

On Tue, Jan 13, 2009 at 1:45 PM, Marcus Lindblom <ma...@yar.nu> wrote:
> Hi,
>
> I have a workspace that used python 2.5 but when 2.6 support was
> included I upgraded. (Great work on creating pydev, btw!)
>
> I still have both py 2.5 and 2.6 installed, but I've added 2.6 as a
> interpreter and it get's run when I start an interactive console.
>
> However, when I run my previous config, I get errors that look like 2.5
> is trying to run from the 2.6 lib, beacuse 'with' and b'' is 2.6 stuff.
>
> C:\Dev\Python26\lib\site.py:150: Warning: 'with' will become a reserved
> keyword in Python 2.6
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
>   File
> "J:\3rd\OpenSG\opensg2_trunk\build.win32.cl.9.0\instlinks\bin\osg2-config",
> line 19, in <module>
>     import os, os.path, sys
>   File "C:\Dev\Python26\lib\os.py", line 757
>     bs = b""
>            ^
>
> The interpreter in my run config says:
>
> C:\Dev\Python26\python.exe
>
> And the command-line is:
>
> C:\Dev\Python26\python.exe -u
> J:\3rd\OpenSG\pyopensg_trunk_update\src\gen_bindings.py
>
> The PYTHONPATH that will be used is:
>
> C:\Users\marcusl\.eclipse\org.eclipse.platform_3.4.0_1709980481\plugins\org.pytho
>
> Ideas?
>
> Cheers,
> /Marcus
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Pydev-users mailing list
> Pydev-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pydev-users
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to