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

I am using anaconda python in ubuntu. When I try to use `complete' in cadabra, it says "ImportError: No module named 'sympy' ". It seems that the error is with the anaconda python. How to use Cadabra with anaconda python in Linux? Thanks...

asked in Feature requests by (300 points)

1 Answer

0 votes
 
Best answer

At the moment, you can't. The Anaconda people have made it seriously difficult to create large packages which are not pure Python (they simply haven't thought through how people want Anaconda to talk to system supplied tools). Your best bet is simply to install sympy for the system-supplied Python, e.g. by doing

sudo apt install python3-sympy

(which may not get you the latest version, unfortunately) or by getting the latest version through a pip install,

sudo pip3 install sympy
answered by (54.1k points)
selected by

Thank you Kasper...after installing `python3-sympy', the code is working!

...