[Bug] Unabel to pip install keplergl
See original GitHub issueDescribe the bug Failed to install keplergl.
To Reproduce Steps to reproduce the behavior:
- Start Anaconda Prompt
- Activate virtual env
- pip install keplergl
- See error
Collecting keplergl
Using cached https://files.pythonhosted.org/packages/2f/a0/ea13a2cc4071fddc91a6ea530d0349e4b943a4a8839209a7facecee37db3/keplergl-0.2.1.tar.gz
Requirement already satisfied: ipywidgets<8,>=7.0.0 in c:\users\curtis\appdata\local\continuum\anaconda3\envs\tf2a\lib\site-packages (from keplergl) (7.5.1)
Collecting traittypes>=0.2.1 (from keplergl)
Using cached https://files.pythonhosted.org/packages/9c/d1/8d5bd662703cc1764d986f6908a608777305946fa634d34c470cd4a1e729/traittypes-0.2.1-py2.py3-none-any.whl
Collecting geopandas>=0.5.0 (from keplergl)
Using cached https://files.pythonhosted.org/packages/f7/a4/e66aafbefcbb717813bf3a355c8c4fc3ed04ea1dd7feb2920f2f4f868921/geopandas-0.8.1-py2.py3-none-any.whl
Requirement already satisfied: pandas>=0.23.0 in c:\users\curtis\appdata\local\continuum\anaconda3\envs\tf2a\lib\site-packages (from keplergl) (1.0.1)
Collecting Shapely>=1.6.4.post2 (from keplergl)
Using cached https://files.pythonhosted.org/packages/0a/e2/1b7aba5ce9804998581efeab455d8a1a902f992f20d2e15dd4ab0a7db4db/Shapely-1.7.1-cp36-cp36m-win_amd64.whl
Requirement already satisfied: ipykernel>=4.5.1 in c:\users\curtis\appdata\local\continuum\anaconda3\envs\tf2a\lib\site-packages (from ipywidgets<8,>=7.0.0->keplergl) (5.3.4)
Requirement already satisfied: nbformat>=4.2.0 in c:\users\curtis\appdata\local\continuum\anaconda3\envs\tf2a\lib\site-packages (from ipywidgets<8,>=7.0.0->keplergl) (4.4.0)
Requirement already satisfied: widgetsnbextension~=3.5.0 in c:\users\curtis\appdata\local\continuum\anaconda3\envs\tf2a\lib\site-packages (from ipywidgets<8,>=7.0.0->keplergl) (3.5.1)
Requirement already satisfied: ipython>=4.0.0; python_version >= "3.3" in c:\users\curtis\appdata\local\continuum\anaconda3\envs\tf2a\lib\site-packages (from ipywidgets<8,>=7.0.0->keplergl) (7.16.1)
Requirement already satisfied: traitlets>=4.3.1 in c:\users\curtis\appdata\local\continuum\anaconda3\envs\tf2a\lib\site-packages (from ipywidgets<8,>=7.0.0->keplergl) (4.3.2)
Collecting fiona (from geopandas>=0.5.0->keplergl)
Using cached https://files.pythonhosted.org/packages/88/62/69347ba2c41b526e1953c4cb66d51170b2869808863c03af202ba0121670/Fiona-1.8.17.tar.gz
ERROR: Complete output from command python setup.py egg_info:
ERROR: A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\Curtis\AppData\Local\Temp\pip-install-qwrvdd7o\fiona\
Desktop (please complete the following information):
- OS: Windows 10
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
ERROR: Command errored out with exit status 1: python setup ...
Now the full response in my command prompt was: C:\WINDOWS\system32>pip install keplergl Collecting keplergl Downloading keplergl-0.1.2.tar.gz ( ...
Read more >Cannot install KeplerGL [224823305] - Issue Tracker - Google
Try !pip install keplergl --user , as suggested by the error. This seemingly succeeds. Try to import keplergl with from keplergl import KeplerGl...
Read more >keplergl - PyPI
This is a simple jupyter widget for kepler.gl, an advanced geospatial visualization tool, to render large-scale interactive maps. ... pip install keplergl
Read more >Jupyter Notebook - kepler.gl
If you're on Mac, used pip install , and you're running Notebook 5.3 and ... FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap...
Read more >pip install geopandas error | The AI Search Engine You Control
Describe the bug Failed to install keplergl. To Reproduce Steps to reproduce the behavior: Start Anaconda Prompt; Activate virtual env; pip install keplergl...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have you tried installing Kepler.GL using a conda environment?
Hey there! I was able to produce this error on my conda environment. Apparently this is more of a Geopandas installation error. But good news is you can fix it easily! Follow these steps and it should fix your problem:
First make sure you’re in the correct environment in Anaconda. (Creating a new environment for your project is suggested but it should work in base environment as well)
Then open up the command prompt and install Geopandas using
conda install geopandas
command.After that run
pip install defusedxml
andpython3 -m pip install --upgrade Pillow
on the same command prompt to make sure all the dependencies work as expected.Finally install Kepler.Gl using
pip install keplergl
on the same conda environment.This should fix all the errors. Hope this helps!