holoviz / geoviews

Simple, concise geographical visualization in Python
http://geoviews.org
BSD 3-Clause "New" or "Revised" License
592 stars 76 forks source link

not working #119

Closed pingyangtiaer closed 6 years ago

pingyangtiaer commented 6 years ago

I installed the geoviews library using the following commands (), the installation showed successfully, however, when I tried to import it into python, I got error:

(C:\Anaconda2) c:\Anaconda2>python.exe Python 2.7.14 |Anaconda custom (64-bit)| (default, Oct 15 2017, 03:34:40) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import geoviews Traceback (most recent call last): File "", line 1, in File "c:\Anaconda2\lib\site-packages\geoviews__init__.py", line 9, in from .element import (_Element, Feature, Tiles, # noqa (API import) File "c:\Anaconda2\lib\site-packages\geoviews\element__init__.py", line 3, in from .geo import (_Element, Feature, Tiles, is_geographic, # noqa (API import) File "c:\Anaconda2\lib\site-packages\geoviews\element\geo.py", line 5, in from cartopy.io.img_tiles import GoogleTiles as cGoogleTiles File "c:\Anaconda2\lib\site-packages\cartopy\io\img_tiles.py", line 32, in from PIL import Image File "c:\Anaconda2\lib\site-packages\PIL\Image.py", line 56, in from . import _imaging as core ImportError: DLL load failed: The specified module could not be found.

Is geoviews not compitable with Python2.7.14 on windows? Looking forward to hearing from you. Thanks,

jbednar commented 6 years ago

I think this is a duplicate of https://github.com/ioam/geoviews/issues/117 ; there are problems with the PIL library that we import on Windows, but they can be worked around as described in that issue, or you can wait for the next release (should be soon, but not today!) that should declare which PIL versions are working.