During handling of the above exception, another exception occurred:
NameError Traceback (most recent call last)
in
----> 1 import libpysal as ps
~\miniconda3\envs\da35\lib\site-packages\libpysal\__init__.py in
25 Tools for creating and manipulating weights
26 """
---> 27 from . import cg
28 from . import io
29 from . import weights
~\miniconda3\envs\da35\lib\site-packages\libpysal\cg\__init__.py in
9 from .sphere import *
10 from .voronoi import *
---> 11 from .alpha_shapes import *
~\miniconda3\envs\da35\lib\site-packages\libpysal\cg\alpha_shapes.py in
25
26 HAS_PYGEOS = True
---> 27 except ModuleNotFoundError:
28 HAS_PYGEOS = False
29
NameError: name 'ModuleNotFoundError' is not defined
ImportError Traceback (most recent call last) ~\miniconda3\envs\da35\lib\site-packages\libpysal\cg\alpha_shapes.py in
23 try:
---> 24 import pygeos
25
ImportError: No module named 'pygeos'
During handling of the above exception, another exception occurred:
NameError Traceback (most recent call last)