Created
August 12, 2018 08:23
-
-
Save XiaochenCui/081e4386bea3a4a428b87ff7e0532b1b to your computer and use it in GitHub Desktop.
Install gmpy2 in Mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install gmp | |
brew install mpfr | |
brew install libmpc | |
pip install gmpy2 |
Still working on my macOS Catalina 10.15.7, thank you!!!
Still working on Big Sur 😍🙏
Still working on Mac with Python 3.8. Thanks!
still working on macOS Big Sur 11.6, thanks
Problem resolved,
soln: check for homebrew path.
i do need to add the path manually
like this: pip3 install --global-option=build_ext --global-option="-I/opt/homebrew/include/" --global-option="-L/opt/homebrew/lib/" gmpy2
It works~thanks
Python 3.6.0
Could not find a version that satisfies the requirement gmpy2 (from versions: ) No matching distribution found for gmpy2
Python 3.6.0 Could not find a version that satisfies the requirement gmpy2 (from versions: ) No matching distribution found for gmpy2
Python 3.8.1 works
it works
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It works!!!