4

我要导入 SMbus 包: 链接

(我使用 Python 3.7)

我尝试在 win10 和 Visual Code 中使用我的 cmd 窗口运行它。( pip install smbus)

  • 可以运行 install "smbus2" !但是这个包也需要“smbus” :(

我总是收到此错误消息:

Complete output (5 lines):
running install
   running build
   running build_ext
   building 'i2c' library
   error: [WinError 2] The system cannot find the file specified
4

0 回答 0