question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NameError: name 'C_convert' is not defined

See original GitHub issue
~/Desktop/DICOM/I33$ med2image -i . 
/home/giampaolo/.local/lib/python3.6/site-packages/dicom/__init__.py:53: UserWarning: 
This code is using an older version of pydicom, which is no longer 
maintained as of Jan 2017.  You can access the new pydicom features and API 
by installing `pydicom` from PyPI.
See 'Transitioning to pydicom 1.x' section at pydicom.readthedocs.org 
for more information.

  warnings.warn(msg)
Traceback (most recent call last):
  File "/usr/local/bin/med2image", line 296, in <module>
    C_convert.run()
NameError: name 'C_convert' is not defined

OS: Ubuntu 18.04, Python 3.6.5

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
p2eslamicommented, Jan 30, 2019

Did anyone get to resolve this problem? I get the same error!

0reactions
arushivyascommented, Jun 29, 2020

Please go through the new and updated README.rst file and follow the instructions to run med2image on a UNIX system.

We are now also providing a Docker container called pl-med2img

Follow this link for detailed instructions: https://github.com/FNNDSC/pl-med2img

Read more comments on GitHub >

github_iconTop Results From Across the Web

NameError: name 'convert' is not defined - Stack Overflow
python - Command raised an exception: NameError: name 'convert' is not defined - Stack Overflow. Stack Overflow for Teams – Start collaborating ...
Read more >
Python NameError: name 'string' is not defined
NameError : name 'string' is not defined. This is the common Python Error when you use the word string instead of the keyword...
Read more >
NameError: name '_converter' is not defined #19810 - GitHub
Experienced this in Jupyter Notebook. Installed matplotlib, imported it, and reimported pandas afterwards, the exception did not go away.
Read more >
Keep getting Nameerror: name error is not defined - Python
I'm 40 minutes in to learning python with Mosh and I keep on getting this error when I run my script for the...
Read more >
NameError: name 'pandas' is not defined – How To Fix
Pandas NameError is frustrating. This error happens because your python script cannot find the name 'pandas' in your namespace. This means you have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found