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

Encountered error while trying to install package. #40

Closed
adust09 opened this issue Mar 20, 2022 · 2 comments
Closed

Encountered error while trying to install package. #40

adust09 opened this issue Mar 20, 2022 · 2 comments

Comments

@adust09
Copy link

adust09 commented Mar 20, 2022

I run 'pip3 install cairo-lang', show error below.

 In file included from src/curveMath.c:1:
      src/curveMath.h:6:10: fatal error: 'gmp.h' file not found
      #include <gmp.h>
               ^~~~~~~
      1 error generated.
      error: command 'clang' failed with exit status 1
      [end of output]

I acctualy did 'brew install gmp', but show this message.
does anyone know about solution?

  • Mac OS Montery(v12.2.1)
  • Applle Silicon
@namrapatel
Copy link

namrapatel commented Mar 22, 2022

@adust09 See this link for potential solutions, (2) worked for me: OpenZeppelin/nile#22

Source for the link: https://github.com/abigger87/cairo-by-example

@adust09
Copy link
Author

adust09 commented Mar 24, 2022

thanks bro, It work well!

@adust09 adust09 closed this as completed Mar 24, 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