cashubtc / nutshell

Chaumian ecash wallet and mint for Bitcoin
https://docs.cashu.space
MIT License
375 stars 96 forks source link

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

Closed LightRider5 closed 1 year ago

LightRider5 commented 1 year ago

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 commented 1 year ago

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