name 'sympy' is not defined
时间: 2023-08-18 08:07:53 浏览: 249
integrals_sympy_
This error message usually occurs when the Sympy library has not been imported correctly. Make sure you have installed Sympy and imported it at the beginning of your code using the following line:
```
import sympy
```
If you have already imported Sympy and still encounter this error, make sure that you have spelled "sympy" correctly and that the library is correctly installed in your environment.
阅读全文