Primary competition visual

Radiant Earth Spot the Crop Hackathon by #ZindiWeekendz

Helping South Africa
$300 USD
Challenge completed over 4 years ago
Classification
Earth Observation
81 joined
21 active
Starti
Jul 02, 21
Closei
Jul 04, 21
Reveali
Jul 04, 21
User avatar
ZINDI
Tutorial on how to download the data and run a starter notebook
Platform · 2 Jul 2021, 12:54 · 5

Thank you to Hamed for his tutorial.

You can watch the live run through here - https://www.youtube.com/watch?v=jYLxV9Do0tc

Discussion 5 answers

Problem installing rasterio package in python 64-bit (for Windows). Error as below,

```

Collecting rasterio

Downloading rasterio-1.2.6.tar.gz (2.2 MB)

|████████████████████████████████| 2.2 MB 1.7 MB/s

Installing build dependencies ... done

Getting requirements to build wheel ... error

ERROR: Command errored out with exit status 1:

command: 'C:\Users\python.exe' 'C:\Users\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\AppData\Local\Temp\tmpp3fg7w7t'

cwd: C:\AppData\Local\Temp\pip-install-glq6gi3q\rasterio_6efe417705614a89a60e562846308cfa

Complete output (2 lines):

INFO:root:Building on Windows requires extra options to setup.py to locate needed GDAL files. More information is available in the README.

ERROR: A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.

```

I got the same error for rasterio versions 1.2.6 to 1.0.26.

Any help in installing rasterio package for windows is much appreciated.

Thanks!

2 Jul 2021, 18:44
Upvotes 0

go to https://www.lfd.uci.edu/~gohlke/pythonlibs/ and search for GDAL, then download whichever version corresponds to your OS, download the .whl file then in the folder you download it, go to command prompt and 'pip install <file-downloaded>

do the same for rasterio and you should be fine.

Hi @Arihant,

You can set up using anaconda (https://www.anaconda.com/products/individual) the packages are quicker to install with fewer if not no installation errors.

Best,

Edgar

User avatar
Raheem_Nasirudeen
The polytechnic ibadan

try using colab

2 Jul 2021, 19:30
Upvotes 0

Hi I am facing colab memory error. How may I resolve this type of situation?

Would love to get your kind guidance as well

28 Sep 2021, 14:09
Upvotes 0