Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
7

How do you import the sympy library?

ARUNADITI
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.

3 years ago

Voters

Comments

TopNew
1
ayyubali1
ayyubali1

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

2 years ago
2
Geocube101
Geocube101

Try...

import sympy

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

from os import system system('pip install sympy') import sympy
3 years ago
Load more