dan@ubuntu:~/dicom-scraper$ sudo docker run --volume ~/input:/data -it --entrypoint=/bin/bash pydicom/dicom-heade
r-cleaner -i
root@f7eaa1bdbc23:/code# ./entrypoint.sh --input /data
Traceback (most recent call last):
File "/code/main.py", line 180, in <module>
main()
File "/code/main.py", line 90, in main
from deid.dicom import get_files
File "/usr/local/lib/python3.5/dist-packages/deid/dicom/__init__.py", line 1, in <module>
from .header import (
File "/usr/local/lib/python3.5/dist-packages/deid/dicom/header.py", line 31, in <module>
from .tags import (
File "/usr/local/lib/python3.5/dist-packages/deid/dicom/tags.py", line 27, in <module>
from pydicom.tag import tag_in_exception
ImportError: cannot import name 'tag_in_exception'
root@f7eaa1bdbc23:/code# python3.5
Python 3.5.2 (default, Nov 12 2018, 13:43:14)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pydicom.tag import tag_in_exception
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'tag_in_exception'
>>>
Look into this issue:
Reported here https://github.com/pydicom/dicom-cleaner/issues/5