gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] installation problem


From: Dominique Buenzli
Subject: Re: [Gnumed-devel] installation problem
Date: Tue, 25 May 2004 12:12:33 +0200

Hello Karsten !


gnumed$ pythonw ~/gnumed/gnumed/client/wxpython/gnumed.py
Please try running gm-from-cvs-macosx.sh in client/ and report
back what happens.

gnumed$ pythonw /Users/gnumed/gnumed/gnumed/client/gm-from-cvs-macosx.sh

File "/Users/gnumed/gnumed/gnumed/client/gm-from-cvs-macosx.sh", line 12
    cd ../
        ^
SyntaxError: invalid syntax


...
=> checking for Python module wxPython ...
WARNING: cannot check for module wxPython
WARNING: you must run this in a GUI terminal window
Did you run this in a terminal window with the GUI open or on
the plain system console ?

?? I ran this in a terminal window with GUI open. The shell is bash.


So it looks like it doesn't find the wxPython.
Right.

- wxPython is installed in /usr/lib
- running the "wxPython Demo" applications works
Good, so you do have it. It just appears that Python can't
find it generically in the path. Can you try starting an
interactive Python session in a terminal window (xterm, rxvt
or similar) ? Then type

 import wxPython.wx

and tell us what happens.

gnumed$ python
Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import wxPython.wx
>>>

So nothing happens and then the same errors if I try to launch with:

pythonw /Users/gnumed/gnumed/gnumed/client/gm-from-cvs-macosx.sh

OR

pythonw ~/gnumed/gnumed/client/wxpython/gnumed.py

- echo $PATH doesn't give me anything (no error, just nothing)
You mean "echo $PYTHONPATH ?

Yes sorry.


Eventually you should add /usr/lib/"wxPython" to PYTHONPATH. That
*should* work although I am not expert enough to tell whether
that's the preferred or Right Thing(tm) to do on a Mac.

How do you add /usr/lib/wxPython to PYTHONPATH ?


- I cannot find this "site-packages" folder anywhere
I would guess that it doesn't apply for Mac. Please stay with
us so we can figure this out and put in the appropriate bits
and pieces.

Thanks for your help.
Dominique





reply via email to

[Prev in Thread] Current Thread [Next in Thread]