Python error “ImportError: No module named”

后端 未结 29 3087
野的像风
野的像风 2020-11-22 07:46

Python is installed in a local directory.

My directory tree looks like this:

(local directory)/site-packages/toolkit/interface.py

29条回答
  •  借酒劲吻你
    2020-11-22 08:12

    In linux server try dos2unix script_name

    (remove all (if there is any) pyc files with command find . -name '*.pyc' -delete)

    and re run in the case if you worked on script on windows

提交回复
热议问题