Sennevds / system_sensors

Logging of system sensor specific for the RPI and sending them to a MQTT broker
MIT License
361 stars 112 forks source link

Unable to Install / possible problem with python 3.10.x #136

Closed raviwarrier closed 2 years ago

raviwarrier commented 2 years ago

Tried installing after reinstalling my rpi4-64 and got the following error:

https://pastebin.com/SBLTerXy

I see a lot of references to python 3.9, but I just installed 3.10.x. Is there a way to make it work with 3.10 or do I need to install 3.9.

Please help. Cheers.

Sennevds commented 2 years ago

Do you have python3-dev installed?

raviwarrier commented 2 years ago

I don't remember installing it specifically, nor do I remember doing it in the past. does it not get installed with python? if not, should I install it and how?

raviwarrier commented 2 years ago

I installed python3-dev and it worked. thanks for pointing in that direction.

Just a question before I close the ticket: is this a new requirement coz as I mentioned I don't remember ever installing python3-dev separately before? If yes, you might want to update the readme, else at least put in an FAQ for the error...

Thanks again. have a great day. closing the ticket.

Sennevds commented 2 years ago

I haven't changed anything. I just looked at the error and googled it. Maybe it has something to do with using it in Arch

raviwarrier commented 2 years ago

Possible. Just changed to 64bit version of the OS. Thanks again.

raviwarrier commented 2 years ago

Possible. Just changed to 64bit version of the OS. Thanks again.