medwx
  
  

Install MEDWX

Before installing MEDWX from sources, you should have Python, wxPython, PIL (Python Imaging Library), ZODB, Numeric and PyOpenGL already installed.

To check if Python is already installed on your system at the console prompt type "python".If so you ougth to get the python interpreter.

To check for wxPython and its version, type the following:

$ python [GCC 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.__version__
'2.5.2.7u'
>>>

Note: Python 2.4 and wxPython 2.6.1 or newer are required. If you use national characters (non ascii), the unicode version of wxPython is required.

if you get something like:

Traceback (most recent call last):
File "", line 1, in ?
ImportError: No module named wx

wxPython isn't installed.

You can do the same for ZODB

$ python [GCC 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ZODB
>>>

Once python, wxPython and ZODB are install you can download MEDWX files. After that you get an archive medwx-X.X.X.zip.

Follow then the following points (Linux or Unix):

1) unzip medwx-X.X.X.zip

2) cd medwx

3) python setup.py build

4) cp build/lib.linux-i686-2.4/*.so ./

You can then run the DICOM viewer by typing

5) python viewer.py