wshealy
Full Member
Posts: 187
Raspberry Pi: Yes
|
Post by wshealy on May 20, 2021 7:10:43 GMT -8
Apparently, when you upgrade via sources.list at least going back a couple generations python3-dev doesn't get installed. Add it and we are off.
W
I now have 4 module that don't install and fail attempting to compile for lack of python.h.
dash (brotli)
mysqlclient
psutil
smbus
python/_brotli.cc:2:10: fatal error: Python.h: No such file or directory
2 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for brotli
W
|
|
|
Post by doxidad on May 20, 2021 8:30:54 GMT -8
I thought SkyWeather2 and associated dash were aimed at 3.x python. Mine run fine with python V3.7.3 and I thought (might be wrong) V2.7 was depreciated.
|
|
|
Post by Jason on May 20, 2021 9:08:45 GMT -8
The four modules you've listed all have Python3 support.
Thanks,
Jason
|
|
wshealy
Full Member
Posts: 187
Raspberry Pi: Yes
|
Post by wshealy on May 20, 2021 15:13:48 GMT -8
Apparently, when you upgrade via sources.list at least going back a couple generations python3-dev doesn't get installed. Add it and we are off. W
|
|
|
Post by Jason on May 20, 2021 15:28:26 GMT -8
Are you using Python 2 or Python 3?
Jason
|
|
wshealy
Full Member
Posts: 187
Raspberry Pi: Yes
|
Post by wshealy on May 20, 2021 15:33:56 GMT -8
3, think I solved it.
|
|
|
Post by Jason on May 20, 2021 15:35:54 GMT -8
Likely python3-dev
|
|
wshealy
Full Member
Posts: 187
Raspberry Pi: Yes
|
Post by wshealy on May 20, 2021 20:46:23 GMT -8
And libmariadb-dev-compat libmariadb-dev
|
|
|
Post by Jason on May 21, 2021 4:49:40 GMT -8
I'm a little surprised those were identified as dependencies during install.
Jason
|
|