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

Error during installation with pip: Pyconfig.h File not found #50

Closed
LightRider5 opened this issue Nov 2, 2022 · 1 comment
Closed

Comments

@LightRider5
Copy link

On MacOS I got this error after pip install cashu:

Pyconfig.h File not found during spec256 installation.

Fixed it with:

CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/Users/your/path/python3.7m

@callebtc
Copy link
Collaborator

callebtc commented Nov 2, 2022

Thank you!

According to this stackexchange post, you can find the correct include path (to be put into CPLUS_INCLUDE_PATH) using the command: python3.7-config --includes --libs

@callebtc callebtc closed this as completed Nov 2, 2022
@callebtc callebtc changed the title Pyconfig.h File not found Error during installation with pip: Pyconfig.h File not found Nov 2, 2022
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