[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] gnumed installation problem
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] gnumed installation problem |
Date: |
Sun, 11 Apr 2004 12:50:00 +0200 |
User-agent: |
Mutt/1.3.22.1i |
Jim,
you are really close !
> > egenix-mxbase and click install
> > pyPgSQL and click install
> >
> I had done these earlier.
> The mx directory is in /Library/Python/2.3/mx/
> pyPgSQL is in /Applications/pypgsql
> Do not know if there is a way to "test" the above.
start python in a terminal
type:
import mx.DateTime
print mx.DateTime.now()
(- should print current date/time)
import pyPgSQL
(- should not give any error messages)
> > cvs server: Updating gnumed
> >
> <20 screens of output snipped>
It's getting the source.
> > d66-183-119-10:~ jb$ pythonw
> > ~/gnumed/gnumed/client/wxpython/gnumed.py
> >
> > CRITICAL ERROR: Cannot load GnuMed Python modules ! - Program
> > halted.
GnuMed is trying to import its modules. In a real
installation (eg. NOT from CVS) they are going to live below
/Library/Python/2.3/Gnumed/
This location doesn't exist so GnuMed cannot load its files.
The easiest solution for running GnuMed from a CVS tree is to
just use the shell script gm-from-cvs.sh
> > Please make sure you have:
> >
> > - the required third-party Python modules installed
this you have done already
> > - the GnuMed Python modules installed in site-packages/
> > - your PYTHONPATH environment variable set up correctly
these are more suggestions as to how to teach GnuMed where to
find its stuff
> > d66-183-119-10:~ jb$ cd gnumed/gnumed/client
> > d66-183-119-10:~/gnumed/gnumed/client jb$ ls
> >
> > CVS gm-slave-test-from-cvs.sh
> > __init__.py gnumed.sh
> > bitmaps locale
> > business manual
> > code_examples pycommon
> > data python-addons
> > doc python-common
> > etc python-tools
> > exporters test-slave.py
> > gm-from-cvs.sh wxpython
^^^^^^^^^^^^^^
this is what you are after
run it from the shell prompt (eg in a terminal window) like
this:
$> ./gm-from-cvs.sh
and you *should* be good to go
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346