标签: python sympy
我正在研究Python 3.7的sympy软件包,但即使最简单的代码也无法编译。这是我的整个代码:
import sympy as sy x = sy.symbols('x') sy.expand((x+1)**3)
我得到的错误消息是
AttributeError: module 'sympy' has no attribute 'symbols'
我该怎么办?