Mapboxgl cannot be imported on Windows 10 after conda install
DManowitz opened this issue · 0 comments
DManowitz commented
I installed mapboxgl from conda-forge, but when I try to import it (or anything from it), I get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\manow\miniconda3\envs\py37_test\lib\site-packages\mapboxgl\__init__.py", line 1, in <module>
from .viz import CircleViz, GraduatedCircleViz, HeatmapViz, ClusteredCircleViz, ImageViz, RasterTilesViz, ChoroplethViz, LinestringViz
File "C:\Users\manow\miniconda3\envs\py37_test\lib\site-packages\mapboxgl\viz.py", line 12, in <module>
from mapboxgl import templates
File "C:\Users\manow\miniconda3\envs\py37_test\lib\site-packages\mapboxgl\templates.py", line 4, in <module>
loader=PackageLoader('mapboxgl', 'templates'),
File "C:\Users\manow\miniconda3\envs\py37_test\lib\site-packages\jinja2\loaders.py", line 324, in __init__
f"The {package_name!r} package was not installed in a"
ValueError: The 'mapboxgl' package was not installed in a way that PackageLoader understands.