Python error “ImportError: No module named”

后端 未结 29 2996
野的像风
野的像风 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:13

    an easy solution is to install the module using python -m pip install instead of pip install you may use sudo in case of admin restrictions

提交回复
热议问题