libplinkio icon indicating copy to clipboard operation
libplinkio copied to clipboard

Configure: error: cannot find python-config for /usr/bin/python3

Open BridgetCampbell opened this issue 1 year ago • 3 comments

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!!!

BridgetCampbell avatar Sep 06 '23 23:09 BridgetCampbell

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

Kazuki-TAKEDA avatar Sep 12 '23 08:09 Kazuki-TAKEDA

I am using a mac is there an equivalent?

BridgetCampbell avatar Sep 21 '23 23:09 BridgetCampbell

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.

Kazuki-TAKEDA avatar Oct 13 '23 07:10 Kazuki-TAKEDA