我在python中运行下面的代码时遇到了问题;
from helpers import process_titanic_line
print(process_titanic_line(lines[0]))我得到的错误是;
ImportError Traceback (most recent call last)
<ipython-input-29-56917437b562> in <module>()
1 #NOT WORKING
2
----> 3 from helpers import process_titanic_line
4 print(process_titanic_line(lines[0]))
ImportError: No module named helpers任何帮助都将不胜感激。
谢谢
发布于 2016-07-23 05:21:42
我不得不将helpers模块上传到python。我通过上传项目的helpers.py文件做到了这一点。我要感谢所有为讨论做出贡献的人。
https://stackoverflow.com/questions/38533715
复制相似问题