libplinkio
libplinkio copied to clipboard
Configure: error: cannot find python-config for /usr/bin/python3
Hi,
Can anyone tell me what to do about this error when installing plinkio?
"configure: error: cannot find python-config for /usr/bin/python3."
I know I have python 3.9 installed.
Thank you!!!
You need to install the developer tools before building this python library.
If you use RPM-based Linux distribution, please use
yum install python-devel
or
yum install python3-devel
If you use DEB-based Linux distribution, please use
apt install python-dev
or
apt install python3-dev
I am using a mac is there an equivalent?
Sorry but I don't know how to do this on macOS. However, there is a pre-built wheel that you can install. Please try installing the wheel in dist.zip at the end of #33.
If you are using an Intel Mac, you can install the wheel by running pip install plinkio-0.9.9-cp39-cp39-macosx_10_9_x86_64.whl
in the directory where dist.zip was extracted.
If you are using an Apple Silicon Mac, please try pip install plinkio-0.9.9-cp39-cp39-macosx_11_0_arm64.whl
.