[英]No module named 'utils'
I am new to the world of python.我是 python 世界的新手。 I am trying to learn first order logic fromhttps://github.com/aimacode/aima-python/blob/master/logic.ipynb
我正在尝试从https://github.com/aimacode/aima-python/blob/master/logic.ipynb学习一阶逻辑
I just follow the same steps as mentioned but I get the following error.我只是按照上述相同的步骤操作,但出现以下错误。
ModuleNotFoundError: No module named 'utils'
I use Jupyter notebook for the testing purpose.我使用 Jupyter notebook 进行测试。 I can see there are questions related to this error.
我可以看到有与此错误相关的问题。 But still I could not solve it.
但我仍然无法解决它。 Thanks for any input.
感谢您提供任何意见。
You need to clone the whole Github repo, not only download (or copy from) the Notebook.您需要克隆整个 Github 存储库,而不仅仅是下载(或从中复制)Notebook。
See utils.py
is a separate file.参见
utils.py
是一个单独的文件。
https://github.com/aimacode/aima-python/blob/master/utils.pyhttps://github.com/aimacode/aima-python/blob/master/utils.py
Also refer to Installation Guide另请参阅安装指南
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.