gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] installation problem


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] installation problem
Date: Tue, 25 May 2004 14:05:29 +0200
User-agent: Mutt/1.3.22.1i

> >>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
No ! You cannot use the *Python* interpreter to run a shell
script ! That's like putting gasoline in a hydrogen car and
wondering why it won't drive.

No wonder Python thinks there is a ...

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

... since it doesn't understand bash scripts.

You will have to run it like this:

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

> >>=> checking for Python module wxPython ...
> >>WARNING: cannot check for module wxPython
> >>WARNING: you must run this in a GUI terminal window
> ?? I ran this in a terminal window with GUI open. The shell is bash.
Good.

> 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:
nothing happening means that it imported wxPython just fine so
we are good

> >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 ?
Try the above first.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

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