Hi, 2 questions:
1) Raspberry Pi4 came with Thonny Python IDE and python 3.7.3. Will this be the same as Adafruit CircuitPython?
2) my script need INA219 module (from ina219 import ina219). After ina219 is installed (sudo pip3 install adafruit-circuitpython-ina219), python script still cannot find this? I cannot find its location using sudo find /var -name *ina219* either.
Thanks for help.
using INA219 with RaspberryPi4.
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: using INA219 with RaspberryPi4.
Try installing without sudo so it will be in your path. If you using sudo to install the libraries you often need to invoke python3 with sudo as well to find the libraries.
You can use Thonny with CircuitPython.
https://learn.adafruit.com/circuitpytho ... onny-setup
We tend to recommend Mu.
https://learn.adafruit.com/welcome-to-c ... -mu-editor
Code: Select all
pip3 install adafruit-circuitpython-ina219
https://learn.adafruit.com/circuitpytho ... onny-setup
We tend to recommend Mu.
https://learn.adafruit.com/welcome-to-c ... -mu-editor
Please be positive and constructive with your questions and comments.