pythonのshapelyを使いたいのですが、エラーが起こってしまいます。
なぜでしょうか?
# Import necessary geometric objects from shapely module from shapely.geometry import Point, LineString, Polygon # Create Point geometric object(s) with coordinates point1 = Point(2.2, 4.2) point2 = Point(7.2, -25.1) point3 = Point(9.26, -2.456) point3D = Point(9.26, -2.456, 0.57)
ModuleNotFoundError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_5420/4247665461.py in <module> 1 # Import necessary geometric objects from shapely module ----> 2 from shapely.geometry import Point, LineString, Polygon 3 4 # Create Point geometric object(s) with coordinates 5 point1 = Point(2.2, 4.2) ModuleNotFoundError: No module named 'shapely'
回答1件
あなたの回答
tips
プレビュー