Skip to content

pygrib not working when using uv #270

@JBreidaks

Description

@JBreidaks

sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get full-upgrade -y
sudo apt-get autoremove -y

sudo apt-get install -y
build-essential make g++ libproj-dev proj-data
glibc-source libgdal-dev gdal-bin libaio-dev
libeccodes-dev libjpeg-dev libeccodes0 unzip
libeccodes-tools libopenjp2-7-dev libpng-dev libopenblas-dev
python3-dev zlib1g-dev python3.12-venv

#https://github.com/astral-sh/uv
wget -qO- https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"

uv venv newenv --python 3.12
source /newenv/bin/activate

uv pip install pygrib

When in python I use this code:

import pygrib
grbs = pygrib.open(filename)

I get error
Segmentation fault (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions