Comments (1)
I traced this to gdal being installed using the conda defaults channel, not the (specified) conda-forge channel. Evidence:
>$docker run -it planet-notebooks conda list gdal
# packages in environment at /opt/conda:
#
# Name Version Build Channel
gdal 3.0.2 py37hbb2a789_0 defaults
libgdal 3.0.2 h27ab9cc_0 defaults
I have changed the conda install line in Dockerfile
from
RUN conda install -y -c conda-forge --file /tmp/requirements.txt
to
RUN conda config --set channel_priority strict && \
conda install -y -c conda-forge --file /tmp/requirements.txt
Now gdal is installed from the conda-forge channel
>4docker run -it planet-notebooks conda list gdal
# packages in environment at /opt/conda:
#
# Name Version Build Channel
gdal 3.0.4 py37hbb6b9fb_1 conda-forge
libgdal 3.0.4 h022d3c0_1 conda-forge
No error is thrown when I run
docker run -it planet-notebooks:try2 python -c "import rasterio"
from notebooks.
Related Issues (20)
- analysis-ready-data notebook "ard_1_intro_and_best_practices.ipynb" file improperly uses async causing errors, also has zip file errors
- analysis-ready-data notebook uses zip file syntax but files are not zip files
- analysis-ready-data notebook "ard_2_use_case_1.ipynb" file has async issues leading to errors
- ard_1_intro_and_best_practices.ipynb CLI -> SDK
- ard_1_intro_and_best_practices.ipynb make plots more readable
- ard_2_use_case_1_visualize_images.ipynb
- Fix README for analysis ready data notebook
- analytics notebook case study syria
- analytics/quickstart/01_checking_available_feeds_and_subscriptions.ipynb errors and docs
- analytics/quickstart/02_fetching_feed_results.ipynb formatting & docs
- analytics/quickstart/03_visualizing_raster_results.ipynb
- analytics/user-guide/01_getting_started_with_the_planet_analytics_api.ipynb
- analytics/user-guide 02
- analytics-snippets/raster_to_vector_roads HOT 2
- analytics-snippets/raster_to_vector_buildingfootprints
- cloud-native-geospacial/intro-to-stac/introduction-to-stac-part2.ipynb
- cloud-native-geospacial/intro-to-stac/introduction-to-stac-part1.ipynb
- analytics/Change_detection_heatmap
- analytics/user-guide 2-5 need data fixes
- Request for Assistance with Downloading PlanetScope Imagery
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notebooks.