I would like to import the module cartopy.io.img_tiles using:
import cartopy.io.img_tiles as cimgt
I have Cartopy 0.16.0 installed via Anaconda on Python 3.6. However, the string above yields:
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile execfile(filename, namespace)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/Me/Test.py", line 18, in import cartopy.io.img_tiles as cimgt
File "C:\ProgramData\Anaconda3\lib\site-packages\cartopy\io\img_tiles.py", line 32, in from PIL import Image
File "C:\ProgramData\Anaconda3\lib\site-packages\PIL\Image.py", line 58, in from . import _imaging as core
ImportError: DLL load failed: The specified module could not be found.
I cannot figure out how to get the package to work. Cartopy is updated to its latest version and I cannot find out how to import the module or install it (using pip). I've tried multiple solutions, such as this and this. I'm probably overlooking something, but is there a simple way to get the module to work?