You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the latest version of shapely and it doesn't seem to recognise 'asPolygon'. Has this been depreciated from shapely?
import spacv
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\x\Documents\spopt_venv\lib\site-packages\spacv_init_.py", line 5, in
from .spacv import *
File "C:\Users\x\Documents\spopt_venv\lib\site-packages\spacv\spacv.py", line 7, in
from .grid_builder import construct_blocks, assign_pt_to_grid
File "C:\Users\x\Documents\spopt_venv\lib\site-packages\spacv\grid_builder.py", line 3, in
from shapely.geometry import Polygon, asPolygon
ImportError: cannot import name 'asPolygon' from 'shapely.geometry' (C:\Users\x\Documents\spopt_venv\lib\site-packages\shapely\geometry_init_.py)
Any recommendations would be greatly appreciated :)
P
The text was updated successfully, but these errors were encountered:
Hi there,
I have the latest version of shapely and it doesn't seem to recognise 'asPolygon'. Has this been depreciated from shapely?
import spacv
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\x\Documents\spopt_venv\lib\site-packages\spacv_init_.py", line 5, in
from .spacv import *
File "C:\Users\x\Documents\spopt_venv\lib\site-packages\spacv\spacv.py", line 7, in
from .grid_builder import construct_blocks, assign_pt_to_grid
File "C:\Users\x\Documents\spopt_venv\lib\site-packages\spacv\grid_builder.py", line 3, in
from shapely.geometry import Polygon, asPolygon
ImportError: cannot import name 'asPolygon' from 'shapely.geometry' (C:\Users\x\Documents\spopt_venv\lib\site-packages\shapely\geometry_init_.py)
Any recommendations would be greatly appreciated :)
P
The text was updated successfully, but these errors were encountered: