Ask coding questions

← Back to all posts
How do you import the sympy library?
ARUNADITI

I need to be able to calculate the derivative of a really ugly function, and I have no idea how to do so. I searched it up on google, and people said to import the sympy library, which would allow me to calculate derivatives, but I don't know how to.

Voters
AdvikWadhwa
CalSch
jeanpat
ARUNADITI
Comments
hotnewtop
Geocube101

Try...

...but in the case of a ModuleNotFoundError, then try...

ayyubali1

on your shell type pip install sympy
then again on your shell type git clone git://github.com/sympy/sympy.git