I am studying the sympy package with Python 3.7, but not even the simplest code does compile. Here is my entire code:
import sympy as sy
x = sy.symbols('x')
sy.expand((x+1)**3)
and the error message I get is
AttributeError: module 'sympy' has no attribute 'symbols'
What can I do?