Hey there.

(1) My employer forces me to work on a MAC, that's a new OS to me. So excuse
me if these questions are stupid. (10.6.8)

(2) I have eclipse, and want to run Python in it. I followed the steps
installing PyDev, no problemo. Now I have to setup the path where the
interpreter is in. And I can't find it. I found 10.000 topics on the net for
this problem, but none solved my issues.

(3) Most of the topics say check /libraries/Python. In this folder I have 3
subfolders, called 2.3, 2.5 and 2.6. These folders contain identical things:
a folder called "site-packages", which contains a readme, which contains
("This directory exists so that 3rd party packages can be installed here.
Read the source for site.py for more details.")
Nothing else.
The PyDev stuff is apparently in my /repast-simphony/eclipse/plugins folder
(in this folder are 5 subfolders called PyDev 2.2.1 etc blablabla and then
debug/fastparser/analysis etc.)

Ok. So how do I find where my Python actually is?
I tried --> python -c "from distutils.sysconfig import get_python_lib; print
get_python_lib()"
which tells me
--> /Library/Python/2.6/site-packages

But that is empty.

In /system/frameworks there is one. That one looks interesting. But no
matter if I choose "Python" (alias, no idea what that means on mac, but it
looks like an executable file) in the main folder, or the other Pythons in
subfolders (e.g. versions/2.6 or versions/current), I receive an unspecific
error which is kind enough to tell me that common problems are using an
unsupported version or specifying an invalid interpreter.

python -c "import sys; print sys.executable"
... points to the folder /usr/bin/python.
(there are also other ones like python 2.6 in that folder)

In eclipse now I enter this path as interpreter, like that:
http://dl.dropbox.com/u/35594260/Bildsc ... .18.31.png

I get this message dialog afterwards (I don't understand this, because this
is EXACTLY the dialog that appears if I do not enter the path manually "new
->", like above, but when I hit "auto config):
http://dl.dropbox.com/u/35594260/Bildsc ... .18.38.png

When I click OK, this error message pops up:
http://dl.dropbox.com/u/35594260/Bildsc ... .18.44.png

I honestly have no idea what to do. Please help.

Thanks
Eiko
-- 
View this message in context: 
http://old.nabble.com/Help-please%3A-Python%2C-Mac%2C-Eclipse%2C-PyDev-tp32236580p32236580.html
Sent from the pydev-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to