[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] python-hl7 dependency
From: |
Busser, Jim |
Subject: |
Re: [Gnumed-devel] python-hl7 dependency |
Date: |
Tue, 19 Mar 2013 23:34:05 +0000 |
On 2013-03-19, at 4:13 PM, Jim Busser <address@hidden> wrote:
> Debian appears to use python-hl7 0.2.2 however from https://pypi.python.org
> can be downloaded the following which was uploaded on 2012-03-14 :
>
> https://pypi.python.org/packages/source/h/hl7/hl7-0.2.5.tar.gz
>
> and it untars to the files listed below.
>
> hl7-0.2.5
> docs
> hl7
> __init__.py
> client.py
> hl7.egg-info
> PKG-INFO
> setup.cfg
> tests
> setup.py
> LICENSE
> MANIFEST.in
> README.rst
>From the terminal output
.========================================================
| Unhandled exception caught !
| Type : <type 'exceptions.ImportError'>
| Value: No module named hl7
`========================================================
Traceback (most recent call last):
File "gnumed.py", line 601, in <module>
from Gnumed.wxpython import gmGuiMain
File
"/Users/djb/Downloads/gnumed-client.1.3.0/Gnumed/wxpython/gmGuiMain.py", line
82, in <module>
from Gnumed.wxpython import gmEMRBrowser
File
"/Users/djb/Downloads/gnumed-client.1.3.0/Gnumed/wxpython/gmEMRBrowser.py",
line 36, in <module>
from Gnumed.wxpython import gmVaccWidgets
File
"/Users/djb/Downloads/gnumed-client.1.3.0/Gnumed/wxpython/gmVaccWidgets.py",
line 38, in <module>
from Gnumed.wxpython import gmFormWidgets
File
"/Users/djb/Downloads/gnumed-client.1.3.0/Gnumed/wxpython/gmFormWidgets.py",
line 27, in <module>
from Gnumed.wxpython import gmMacro
File
"/Users/djb/Downloads/gnumed-client.1.3.0/Gnumed/wxpython/gmMacro.py", line 54,
in <module>
from Gnumed.wxpython import gmMeasurementWidgets
File
"/Users/djb/Downloads/gnumed-client.1.3.0/Gnumed/wxpython/gmMeasurementWidgets.py",
line 24, in <module>
from Gnumed.business import gmHL7
File "/Users/djb/Downloads/gnumed-client.1.3.0/Gnumed/business/gmHL7.py",
line 14, in <module>
import hl7 as pyhl7
ImportError: No module named hl7
it seemed that gnumed was looking for hl7 not inside
Gnumed.business (i.e. not inside the aliased …/client/business )
but at the same level as the client directory, so from the untarred hl7-0.2.5 I
simply dragged a copy of the hl7 directory containing the files
__init__.py
client.py
so that it is inside my .../client thusly
/Users/djb/Downloads/gnumed-client.1.3.0/client/hl7/
and that seems to work.
-- Jim
- [Gnumed-devel] python-hl7 dependency, Jerzy Luszawski, 2013/03/17
- Re: [Gnumed-devel] python-hl7 dependency, Karsten Hilbert, 2013/03/19
- Re: [Gnumed-devel] python-hl7 dependency, Busser, Jim, 2013/03/19
- Re: [Gnumed-devel] python-hl7 dependency, Karsten Hilbert, 2013/03/20
- Re: [Gnumed-devel] python-hl7 dependency, Busser, Jim, 2013/03/20
- Re: [Gnumed-devel] python-hl7 dependency, Karsten Hilbert, 2013/03/20