ImportError: cannot import name polytools

asked 2018-07-16 13:32:22 -0600

Road gravatar image

updated 2018-07-16 13:47:24 -0600

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 13:46:30 -0600 )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 13:50:38 -0600 )edit
1

Please provide code that results in this error.

slelievre gravatar imageslelievre ( 2018-07-16 14:26:22 -0600 )edit