Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BridgetCampbell opened this issue Sep 6, 2023 · 3 comments
Open

Comments

@BridgetCampbell
Copy link

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

@Kazuki-TAKEDA
Copy link
Collaborator

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

@BridgetCampbell
Copy link
Author

I am using a mac is there an equivalent?

@Kazuki-TAKEDA
Copy link
Collaborator

Kazuki-TAKEDA commented Oct 13, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants