Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

I installed gmpy2 via pip3 following the installation guide. I am using Mac and Cadabra2. Just testing the example in the manual page, the error appeared:

ModuleNotFoundError: No module named 'gmpy2'

in the manip.py(80): get_factor/ manip.py(103): : manip.py(115): to_rhs

in Installation trouble by (120 points)

1 Answer

0 votes

This often happens when you are using a different Python to do that pip command from the one you use to run Cadabra.

Try instead

/usr/local/bin/python3 -m pip install sympy gmpy2

and let me know if that's any better.

by (76.4k points)

many thanks...

...