ImportError: cannot import name polytools

asked 2018-07-16 20:32:22 +0100

Road gravatar image

updated 2018-07-16 20:47:24 +0100

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.

edit retag flag offensive close merge delete

Comments

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

tmonteil gravatar imagetmonteil ( 2018-07-16 20:46:30 +0100 )edit

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 ( 2018-07-16 20:50:38 +0100 )edit
1

Please provide code that results in this error.

slelievre gravatar imageslelievre ( 2018-07-16 21:26:22 +0100 )edit