ImportError: cannot import name polytools

asked 6 years ago

Road gravatar image

updated 6 years ago

I'm using SageMath 8.2 Notebook to solve a symbolic equation.

But I'm getting "ImportError: cannot import name polytools".

Thank you.

EDIT: Shutting down the notebook and re-opening fixed it.

Preview: (hide)

Comments

How could we guess the problem ? Could you please provide all the code that lead to the error ?

tmonteil gravatar imagetmonteil ( 6 years ago )

polytools.py is a file in the SymPy package, for what that's worth, and the only import statement I can find is in local/lib/python2.7/site-packages/sympy/polys/__init__.py: from . import polytools.

John Palmieri gravatar imageJohn Palmieri ( 6 years ago )
1

Please provide code that results in this error.

slelievre gravatar imageslelievre ( 6 years ago )