The following forum message was posted by jicicuendez at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4909286:

Hi,
I am completely new to the python world and I am trying to set up PyDev in 
Eclipse
(windows) so I can access QuantumGIS (Qgis) and gdal libraries also included
in the Qgis distribution. I would appreciate any help since I am a bit lost
after several trials.

The problem is that when I tried to set up the python interpreter to the one
included \Quantum GIS Wroclaw\bin I get the following error:
See error log for details.
No output was in the standard output when trying to create the interpreter
info.
The error output contains:>>'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "C:\Archivos de
programa\Eclipse\plugins\org.python.pydev_2.3.0.2011121518\PySrc\interpreterInfo.py",
line 15, in <module>
    import os
ImportError: No module named os
<<

My version of Qg is 1.7.3. I do not understand this since PyDev should be 
compatible
with python version from 2.1 and I think the one provided by Qg is 2.5.

I tried to overcome this problem by using python 3.2 but still it does not find
the classes. With this interpreter the PYTHONPATH is:
\Program Archives\Python32\DLLs
\Program Archives\Python32\lib
\Program Archives\Python32
\Program Archives\Python32\lib\site-packages
\Program Archives\Quantum Gis Wroclaw\apps\qgis\phython
\Program Archives\Quantum Gis Wroclaw\apps\qgis\apps\Qt4
\Program Archives\Quantum Gis Wroclaw\apps\qgis\python\plugins

Thanks a lot in advance. Hope someone can give a clue.


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to