cashubtc / nutshell

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

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

Closed LightRider5 closed 2 years ago

LightRider5 commented 2 years 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 2 years 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