endail / hx711-rpi-py

Python bindings for Raspberry Pi HX711 C++ Library
MIT License
11 stars 4 forks source link

Install problem #8

Closed Mattsav closed 1 year ago

Mattsav commented 1 year ago

Hi,

I'm trying to install it on a raspi4 using pip install hx711-rpi-py.

Its says its installed but python can't find it. Any ideas?

Regards

Matt

Mattsav commented 1 year ago

I've also tried it with pip3 and sudo pip sudo pip3

endail commented 1 year ago

Did you also install the C++ library? It's what hx711-rpi-py uses.

Mattsav commented 1 year ago

I just tried that followed by pip intsall but it still can't find it for some reason

Mattsav commented 1 year ago

this works pi@raspberrypi:~/hx711 $ bin/simplehx711test 2 3 -377 -363712 so its just python that can't find it

endail commented 1 year ago

After you installed the C++ library, did you run sudo ldconfig? If not, try that.

Mattsav commented 1 year ago

That worked !

Thanks for the library and your help :)