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

Hi Fabio, 

running as you proposed
import sys
print('\n'.join(sorted(sys.path)))
from the command line gives:
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/lib-dy
nload
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/plat-d
arwin
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-p
ackages
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-p
ackages/readline
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-p
ackages/setuptools-0.6c11-py3.2.egg-info
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python32.zip

Running the same from within eclipse again gives:
searching ['/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/pyth
on32.zip', '/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/pyth
on3.2/', '/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python
3.2/plat-darwin',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/lib-d
ynload'] ['/Applications/eclipse/plugins/org.python.pydev_2.2.4.2011110216/PySrc
/pydev_sitecustomize', '/Users/Stefan/PC/Software Development/Python/Geld32',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-
packages', '/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/pyth
on3.2/site-packages/matplotlib',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python32.zip',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/plat-
darwin', '/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python
3.2/site-packages/readline',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/lib-d
ynload', '/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python
3.2/site-packages',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-
packages/setuptools-0.6c11-py3.2.eg\uff00\uffff??\udcff?\udf50?\ufffe??\udfbf\uf
fbf\udffe??\ufe27\x03\x03',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python32.zip',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/plat-
darwin', '/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python
3.2/lib-dynload']
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/site-packages/site.py", line 73, in <module>
    __boot()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/site-packages/site.py", line 33, in __boot
    imp.load_module('site',stream,path,descr)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/site.py", line 58, in <module>
    import traceback
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/traceback.py", line 3, in <module>
    import linecache
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/linecache.py", line 10, in <module>
    import tokenize
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/tokenize.py", line 28, in <module>
    import re
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/re.py", line 121, in <module>
    import functools
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/functools.py", line 15, in <module>
    from collections import OrderedDict, namedtuple
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/site-packages/matplotlib/collections.py", line 13, in <module>
    import numpy as np
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/site-packages/numpy/__init__.py", line 137, in <module>
    from . import add_newdocs
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/site-packages/numpy/add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/site-packages/numpy/lib/__init__.py", line 4, in <module>
    from .type_check import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/site-packages/numpy/lib/type_check.py", line 8, in <module>
    import numpy.core.numeric as _nx
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.
2/site-packages/numpy/core/__init__.py", line 7, in <module>
    from . import _internal # for freeze programs
  File "/opt/local/Li

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to