Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from prettymaps import * error #91

Open
nikogamulin opened this issue Jun 26, 2022 · 0 comments
Open

from prettymaps import * error #91

nikogamulin opened this issue Jun 26, 2022 · 0 comments

Comments

@nikogamulin
Copy link

I tried to install prettymaps according to the notebook example. After the installation, when I try to run the notebook, I get the following error:

`OSError Traceback (most recent call last)
/tmp/ipykernel_15713/2931402318.py in
5
6 # Prettymaps
----> 7 from prettymaps import *
8 # Vsketch
9 import vsketch

~/anaconda3/envs/py39/lib/python3.9/site-packages/prettymaps/init.py in
----> 1 from .draw import plot

~/anaconda3/envs/py39/lib/python3.9/site-packages/prettymaps/draw.py in
20 from collections.abc import Iterable
21
---> 22 import osmnx as ox
23 import pandas as pd
24 from geopandas import GeoDataFrame

~/anaconda3/envs/py39/lib/python3.9/site-packages/osmnx/init.py in
1 """OSMnx init."""
2
----> 3 from ._api import *
4 from ._version import version

~/anaconda3/envs/py39/lib/python3.9/site-packages/osmnx/_api.py in
1 """Expose most common parts of public API directly in osmnx. namespace."""
2
----> 3 from .bearing import add_edge_bearings
4 from .bearing import orientation_entropy
5 from .bearing import plot_orientation

~/anaconda3/envs/py39/lib/python3.9/site-packages/osmnx/bearing.py in
5 import numpy as np
6
----> 7 from . import projection
8
9 # scipy is an optional dependency for entropy calculation

~/anaconda3/envs/py39/lib/python3.9/site-packages/osmnx/projection.py in
1 """Project spatial geometries and spatial networks."""
2
----> 3 import geopandas as gpd
4 import numpy as np
5 from pyproj import CRS

~/anaconda3/envs/py39/lib/python3.9/site-packages/geopandas/init.py in
----> 1 from geopandas._config import options # noqa
2
3 from geopandas.geoseries import GeoSeries # noqa
4 from geopandas.geodataframe import GeoDataFrame # noqa
5 from geopandas.array import points_from_xy # noqa

~/anaconda3/envs/py39/lib/python3.9/site-packages/geopandas/_config.py in
107 use_pygeos = Option(
108 key="use_pygeos",
--> 109 default_value=_default_use_pygeos(),
110 doc=(
111 "Whether to use PyGEOS to speed up spatial operations. The default is True "

~/anaconda3/envs/py39/lib/python3.9/site-packages/geopandas/_config.py in _default_use_pygeos()
93
94 def _default_use_pygeos():
---> 95 import geopandas._compat as compat
96
97 return compat.USE_PYGEOS

~/anaconda3/envs/py39/lib/python3.9/site-packages/geopandas/_compat.py in
9 import pyproj
10 import shapely
---> 11 import shapely.geos
12
13

~/anaconda3/envs/py39/lib/python3.9/site-packages/shapely/geos.py in
82 geos_whl_so = sorted(geos_whl_so)
83 CDLL(geos_whl_so[0])
---> 84 _lgeos = CDLL(geos_whl_so[-1])
85 LOG.debug("Found GEOS DLL: %r, using it.", _lgeos)
86

~/anaconda3/envs/py39/lib/python3.9/ctypes/init.py in init(self, name, mode, handle, use_errno, use_last_error, winmode)
380
381 if handle is None:
--> 382 self._handle = _dlopen(self._name, mode)
383 else:
384 self._handle = handle

OSError: libgeos-5781ad74.so.3.10.2: cannot open shared object file: No such file or directory`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant