Python error “ImportError: No module named”

Posted by Pinki | Updated on

If you want to know about Python error “ImportError: No module named”, Then following is your answer:

  1. You edited on windows.
  2. The windows editor added something non-printing, perhaps a carriage-return (end-of-line in Windows is CR/LF; in unix it is LF only), or perhaps a CTRL-Z (windows end-of-file).
  3. You used WinSCP to copy the file to your unix box.
  4. WinSCP thought: “This has something that’s not basic text; I’ll put a .bin extension to indicate binary data.”
  5. The missing (now called means python doesn’t understand toolkit as a package.
  6. You create in the appropriate directory and everything works… ?

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers