Closed Robinlovelace closed 1 year ago
Seems I'm using an out-of-date version of fiona:
mamba list fiona
# packages in environment at /home/robin/mambaforge/envs/geocompy:
#
# Name Version Build Channel
fiona 1.8.22 py311h3f14cef_5 conda-forge
I tried:
mamba install -c conda-forge fiona>=1.9
zsh: 1.9 not found
But that failed as per error message above.
Looks like it requires a downgrade of rasterstats
:
mamba install -c conda-forge 'fiona>=1.9'
__ __ __ __
/ \ / \ / \ / \
/ \/ \/ \/ \
███████████████/ /██/ /██/ /██/ /████████████████████████
/ / \ / \ / \ / \ \____
/ / \_/ \_/ \_/ \ o \__,
/ _/ \_____/ `
|/
███╗ ███╗ █████╗ ███╗ ███╗██████╗ █████╗
████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
██╔████╔██║███████║██╔████╔██║██████╔╝███████║
██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
██║ ╚═╝ ██║██║ ██║██║ ╚═╝ ██║██████╔╝██║ ██║
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝
mamba (1.1.0) supported by @QuantStack
GitHub: https://github.com/mamba-org/mamba
Twitter: https://twitter.com/QuantStack
█████████████████████████████████████████████████████████████
Looking for: ["fiona[version='>=1.9']"]
conda-forge/linux-64 Using cache
conda-forge/noarch Using cache
Pinned packages:
- python 3.11.*
Transaction
Prefix: /home/robin/mambaforge/envs/geocompy
Updating specs:
- fiona[version='>=1.9']
- ca-certificates
- certifi
- openssl
Package Version Build Channel Size
───────────────────────────────────────────────────────────────────────────
Upgrade:
───────────────────────────────────────────────────────────────────────────
- fiona 1.8.22 py311h3f14cef_5 conda-forge
+ fiona 1.9.1 py311h3f14cef_0 conda-forge/linux-64 876kB
Downgrade:
───────────────────────────────────────────────────────────────────────────
- rasterstats 0.18.0 pyhd8ed1ab_0 conda-forge
+ rasterstats 0.17.0 pyhd8ed1ab_0 conda-forge/noarch 18kB
Summary:
Upgrade: 1 packages
Downgrade: 1 packages
Total download: 895kB
After installing the packages with the following commands
I'm hitting this issue: