I'm trying to import sympy in both Spyder and Jupyter Notebooks (downloaded both through the Anaconda distribution). But, when I try to run the code (see below), I keep getting an ImportError saying that: " cannot import name 'Point2D' from 'sympy.geometry.point'". When I run this in Google CoLab, there is no such problem. How do I fix this issue? Sorry if there is an easy fix; I'm just getting into coding! Error Code when trying to import sympy
CodePudding user response:
Try upgrading the version of sympy you are using
pip install -U sympy