Open ruvenguna opened 5 years ago
This seems to only happen in anaconda, found a similar issue here https://github.com/htrc/HTRC-WorksetToolkit/issues/19
Possible fix is to remove the end /
in setup.py
@ruvenguna can you try install keplergl==0.1.0a6
in anaconda?
Hi @heshan0131 , I'm trying to install keplergl for jupyter on Windows OS and I'm facing the following problem:
ERROR: Command "python setup.py egg_info" failed with error code 1 in c:\users\pc\appdata\local\temp\pip-install-f3rerg\Shapely`
Sorry, I am not a programmer I have been programming in python for a short time, please can you give me more suggestions about how to modify the setup.py file?
I tried also to install Jupyter and keplergl outside the anaconda environment and this is what I get:
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\pc\AppData\Local\Temp\pip-install-6zw112rm\Shapely`
Thanks in advance
I followed @victorfgs 's advice and made it! But it took me 2 hours to figure out how to "manually" install these three packages. I hope the following notes would help some start-up programmers like me to save your time.
Note 1: Install "manually" does not mean install the ".whl" files to your python library folder!
Note 2: Make sure you have "wheel" in pip lib. pip install wheel
Note 3: Verify the correct version of packages for your pip. Run following code in python to figure out which version of wheel to install: cpxx. Mine is "cp37".
AMD64: import pip._internal;print(pip._internal.pep425tags.get_supported())
win32: import pip; print(pip.pep425tags.get_supported())
Note 4: Go to sharpely/gdal/fiona to download ".whl" file, which supports your pip version. Mine are "{PackageName}‑3.0.1‑cp37‑cp37m‑win_amd64.whl"
Note 5: Get the absolute path of your ".whl" file (careful with "\"). And run pip install path_of_whl_file
Note 6: After you successfully download above packages, you can easily install keplergl by running pip install keplergl
Thank you very much @victorfgs @ricardoCyy !!! I will try to follow your advice! Have a nice day! :)
Created a FR to publish to conda, will this help?
非常感谢,安装没有出错了,但在jupyter中无法执行,显示没有找到指定模块,求解!!!
非常感谢,安装没有出错了,但在jupyter中无法执行,显示没有找到指定模块,求解!!!
install fiona
版本问题 解决了谢谢
I have meet the same questions .when I install keplergl in anaconda, my os is windows10. My solution to the problem is:
Since I am just a python enthusiast, not a professional, the method is not necessarily good, but I still hope that this experience is useful to everyone.
I followed @victorfgs 's advice and made it! But it took me 2 hours to figure out how to "manually" install these three packages. I hope the following notes would help some start-up programmers like me to save your time.
System: win10
Note 1: Install "manually" does not mean install the ".whl" files to your python library folder!
Note 2: Make sure you have "wheel" in pip lib.
pip install wheel
Note 3: Verify the correct version of packages for your pip. Run following code in python to figure out which version of wheel to install: cpxx. Mine is "cp37". AMD64:
import pip._internal;print(pip._internal.pep425tags.get_supported())
win32:import pip; print(pip.pep425tags.get_supported())
Note 4: Go to sharpely/gdal/fiona to download ".whl" file, which supports your pip version. Mine are "{PackageName}‑3.0.1‑cp37‑cp37m‑win_amd64.whl"
Note 5: Get the absolute path of your ".whl" file (careful with ""). And run
pip install path_of_whl_file
Note 6: After you successfully download above packages, you can easily install keplergl by running
pip install keplergl
U save my time!!!! Thanks
- 通过conda创建一个新的虚拟环境。
只需要把gdal的版本改下,改成2.4.1那个就行了
I followed the instructions and it worked perfectly! Thanks!
I followed all the steps suggested but every time I try to import keplergl, DLL failed appear as @bosges. I manually install from wheel, update all packages but never changes. I also tried to install keplergl==0.1.0a6 as @heshan0131 heshan0131 suggested
`--------------------------------------------------------------------------- ImportError Traceback (most recent call last)
ModuleNotFoundError: No module named 'keplergl'
I can't install keplergl library in anaconda & spyder. So can you help me?
There seems to be an issue when I try to install keplergl-jupyter. I ran
pip install keplergl-jupyter
in the anaconda prompt and got the following error.There was also a
Failed building wheel for keplergl-jupyter
error.Please let me know the right way to download and use this module in Jupyter Notebooks. Thanks!
I am using the Windows OS.