This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] INA238:适用于 INA238的 Python 驱动程序

Guru**** 2520170 points
Other Parts Discussed in Thread: INA238, SYSCONFIG

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/amplifiers-group/amplifiers/f/amplifiers-forum/1464833/ina238-python-driver-for-ina238

器件型号:INA238
主题中讨论的其他器件: SysConfig

工具与软件:

有人是否曾为电流传感器 ina238使用 python-Driver?  我在 GitHub 上找到一个库,地址: GSI-HPC/py-ina238: TI INA238 Driver
我已经安装这个 Lib 到我的 Raspberry Pi wirh 代码:  

PIP 安装 ina238 

但它似乎是无效的。 它显示:

.venv/lib/python3.11/site-packages/ti/_init_.py"、中的第6行
导入 ina238

ModuleNotFoundError:没有名为"ina238"的模块

如何正确安装和使用此 Lib? 或者是否有任何其他 Lib?