【发布时间】:2016-02-17 17:51:50
【问题描述】:
我在 MacBook Pro 上使用终端。 尝试在我的代码中使用 intelhex。我已经使用
下载了 intelhexsudo pip install intelhex
成功
点子列表
显示已安装的 intelhex
运行我的代码并收到此错误:
Traceback(最近一次调用最后一次): 文件“./myCode.py”,第 20 行,在 从 intelhex 导入 IntelHex ImportError: 没有名为“intelhex”的模块
我正在使用 Python 2.7.11
ls /usr/local/bin
显示intelhex的内容:
hex2bin.py
bin2hex.py
hexmerge.py
hexdiff.py
我哪里错了?!
【问题讨论】:
标签: python macos import terminal