SarkariResultess QA Bank

ImportError: cannot import name 'X' from module का पहला debugging step क्या है? — error आने पर developer क्या करे?

Other 0 Views Verified
ImportError: cannot import name 'X' from module का पहला debugging step क्या है? — error आने पर developer क्या करे?
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified Correct Answer

python -c "import module; print(module.__file__)"

python -c "import module; print(module.__file__)"
Additional Explanation
module path और circular/local-name conflict जांचें। पहले traceback की exact line और input value check करें।
Verified

reinstall Windows

reinstall Windows
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified

ignore the traceback

ignore the traceback
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified

rename every file randomly

rename every file randomly
Additional Explanation
यह विकल्प सही समाधान नहीं है।