Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Ghost.py 已正确安装,但找不到它的模块
你知道模块安装在哪里吗?如果是这样,该位置是否在 PYTHONPATH 中?
检查 PYTHONPATH :
import sys print(sys.path)
PYTHONPATH 可以在脚本执行期间使用:
sys.path.append('/path/to/ghost.py')
或永久按照以下 Windows 说明操作:
如何在 Windows 7 中添加到 pythonpath?