I am trying to install rasterio into my python environment and am getting the following errors. I can do
conda install rasterio
No error comes up on the install but I come up with the following error when I try to import
from rasterio._base import eval_window, window_shape, window_index
ImportError: DLL load failed: The specified module could not be found.
if I try
pip install rasterio
it errors when installing with this:
rasterio/_base.c(263) : fatal error C1083: Cannot open include file:'cpl_conv.h': No such file or directory
error: command 'C:\\Users\\Rdebbout\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
----------------------------------------
Failed building wheel for rasterio
I have the same problems with trying to import the fiona module. How and/or where do DLLs get loaded? I'm in the dark on this one and would appreciate any help or direction as to how to troubleshoot this problem.
I am using the 64-bit version of spyder on windows 7.