Re: `import rasterio` error on Win7 and Mac: ValueError: numpy.dtype has the wrong size, try recompiling
toggle quoted messageShow quoted text
I am sorry, but upgrading numpy is the only way forward. If you don't want to overwrite your existing numpy installation, you have several options. I believe the following two are the best. Other group members may have different experiences.
1. Download python 3.6 or 3.7 from python.org and install it. Now you have a brand new (and better) version of python into which you can install packages. On your Mac, `python3 -m pip install rasterio` will cause numpy to be fetched and installed, too. On your Windows computer, you will need to get numpy separately from https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy and install it.
2. Install Miniconda (3.6 again) https://conda.io/miniconda.html and get Rasterio from conda-forge: `conda install -c conda-forge rasterio`.
On Tue, Aug 7, 2018 at 8:33 AM <nurbachris@...> wrote: