【发布时间】:2019-05-09 14:44:54
【问题描述】:
我正在关注Google Developer 制作的机器学习教程。执行命令时:
python -m scripts.retrain -h
我得到了结果:
> /usr/bin/python: No module named scripts
我试图搜索结果,我从 stackoverflow 得到this:
如果你跑了
import os
os.getcwd()
你会发现这是真的。 但我得到的是:
import-im6.q16: not authorized `os' @ error/constitute.c/WriteImage/1037.
我应该怎么做才能解决这个问题?
【问题讨论】:
-
您是否在交互式 python 解释器中运行这些命令?看起来你正试图直接在你的 shell 中运行它们。
标签: python-3.x machine-learning