I think my installation is working file. The version of Flair is 3.1-8 [35316717 ]
My OS ver is RHEL 8.2 / kernel: 4.18.0-193.1.2.el8_2.x86_64
This will be our production server.
drop down menu ==> Dicom page indicates errors
Error: No module named ‘dicom’
pydicom library cannot be loaded
either pydicom is missing or some dependency is missing
Install: all # python -m pip install pydicom
Extra requirments (name depends on distributions):
- python3-numeric, python3-imaging or python3-pillow,
- python3-imaging-tk or python3-pillow-tk or python3-pil.imagetk
Following are my pkg/rpm status with the current OS build:
rpm -qa | grep python3 | grep dicom
rpm -qa | grep python3 | grep -i pillow
Is this required for flair to work properly?
the dicom package only required for processing medical DICOM files. Other flair features don’t require it.
It can be easily installed with
pip3 install -U pydicom
or, you maybe find it in your distributions repository.
In your case you installed a pydicom package from a Fedora 32 repository which is not compatible with your system. You will need to remove it first. (Similarly, the pillow packages from Fedora should be removed as well)
Thanks for your feedback.
I did the following:
pip3 install -U --force pydicom --user
Using cached https://files.pythonhosted.org/packages/f4/15/df16546bc59bfca390cf072d473fb2c8acd4231636f64356593a63137e55/pydicom-2.1.2-py3-none-any.whl
Installing collected packages: pydicom
Successfully installed pydicom-2.1.2
My RPP for PyDicom was from EPEL/Fedora upstream … Redhat doesn’t have a pkg for pydicom:
rpm -qa | grep python3 | grep -i pydicom
But the errors persists on Dicom pop up page.
<<<< attached image
Please find the attached image.
it is quite likely, that the
Matplotlib packages are the culprits. Both can be installed with
pip3 is they are missing.
You can check if the are installed correctly with
>>> import pydicom (or import dicom)
>>> import scipy
>>> import numpy
>>> import matplotlib