Ask coding questions

← Back to all posts
Unable to install sympy.
ThomasSheumaker (4)

For my project I need to install sympy but I keep getting this error
"Package operations: 1 install, 0 updates, 0 removals

  • Installing sympy (1.7.1)

Command ['/opt/virtualenvs/python3/bin/pip', 'install', '--no-deps', 'sympy==1.7.1'] errored with the following return code -9, and output:
Collecting sympy==1.7.1
Using cached
Installing collected packages: sympy

exit status 1 Package operation failed."

InvisibleOne (3003)

Try running pip install sympy in the shell

CalSch (4)

@InvisibleOne This didn't work for me, when I tried to install it in the shell it said:

Collecting sympy
Using cached
Requirement already satisfied: mpmath>=0.19 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from sympy) (1.2.1)
Installing collected packages: sympy