Closed jingsam closed 5 years ago
@jingsam it appears that the version on PyPi does not include this PR, which fixes the rasterio API change: https://github.com/mapbox/rio-rgbify/pull/7. As such, the extension cannot be loaded -- my apologies! I'll get a version bump + publish going tomorrow, but feel free to clone + install via github as noted here; this should work.
Many thanks. Have a good day!
@jingsam --> https://pypi.python.org/pypi/rio-rgbify/0.3.1
If it works, feel free to close this issue.
Wired, I uninstall rgbify and reinstall rgbify 0.3.1, still errors. Should I also reinstall rasterio? Note that I am using macOS 10.13.2. and pip install with sudo -H
@jingsam hmm. I'd recommend (if you are not):
pip
+ virtualenv
. If not, use a homebrew python.sudo
upon pip installing (which can be a security risk)pip install numpy
(required for rasterio)pip install rasterio --pre
(uses compiled wheels for gdal binaries)pip install rio-rgbify
cd
into a cloned rio-rgbify
, `pip install -e '.[test]'I know this sounds like a lot, but I have found that virtualenvs
end up saving me a lot of work installing + uninstalling python packages in the future.
All this said, you should def try reinstalling rasterio, and make sure you have all these requirements installed: https://github.com/mapbox/rio-rgbify/blob/master/requirements.txt
What happens when you pip freeze | grep rasterio
?
I successfuly installed rio-rgbify with virtualenv. Many thanks. But I would like to test installing without virtualenv, figure out why this happens.
Glad you got it working @jingsam! Given that, I'm gonna close here.
I install rasterio and rio-rgbify:
When I use:
I get this error:
Anything am I missing?