pysal / mgwr

Multiscale Geographically Weighted Regression (MGWR)
https://mgwr.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
368 stars 126 forks source link

import libpysal error for Windows #100

Closed Azad77 closed 3 years ago

Azad77 commented 3 years ago

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)

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
Ziqi-Li commented 3 years ago

It is more of a libpysal related question. I am closing now. If any other issues occur, please re-open this.