ImportError: cannot import name polytools

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

Road gravatar image

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

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


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 +0200 )edit 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/ from . import polytools.

John Palmieri gravatar imageJohn Palmieri ( 2018-07-16 20:50:38 +0200 )edit

Please provide code that results in this error.

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