2

I'm on Ubuntu 16.04 and have been trying like crazy to install GDCM so I can use it with Python. I have pipenv installed, and I suspect that's causing issues.

I did sudo apt-get install libgdcm2.6 python-gdcm. It seems to install fine, but when I run python and then import gdcm, it complains there's no module named gdcm.

Has anyone come across this?

Shamoon
  • 41,293
  • 91
  • 306
  • 570

1 Answers1

2

This means that the python cannot find the gdcm package within its environment. So your package is not installed properly, and/or your environment has not been configured correctly. Try the following:

  • remove pipenv
  • make sure "import gdcm" works with a 'normal' python environment.

if it does not work you know the problem lies (also) somewhere else:

g_uint
  • 1,903
  • 3
  • 17
  • 30