Skip to content

Pixi run qgis - error #5191

@riteta-rimon

Description

@riteta-rimon

Hi all, would appreciate a little help with this error I'm encountering while trying to open qgis.

Image

These are the commands i follow while creating environment using powershell. Everything works well until i try to launch qgis that when i get that error.

Thank you

powershell -ExecutionPolicy Bypass -c "irm -useb https://pixi.sh/install.ps1 | iex"

pixi --version

pixi init geo
cd geo

pixi.toml

[workspace]
channels = ["https://prefix.dev/conda-forge"]
name = "geo"
platforms = ["linux-64", "win-64"]

[system-requirements]
cuda = "12.0"

[dependencies]
python = "3.12.*"
pytorch-gpu = ">=2.9.1,<3"
qgis = ">=3.44.5"
geoai = ">=0.24.0"
segment-geospatial = ">=1.2.0"
sam3 = ">=0.1.0.20251211"
libopenblas = ">=0.3.30"
pixi install

pixi install

pixi run python -c "import torch; print('PyTorch:', torch.__version__); print('CUDA available:', torch.cuda.is_available()); print('GPU:', (torch.cuda.get_device_name(0) if torch.cuda.is_available() else 'None'))"

result:

  PyTorch: 2.9.1
  CUDA available: True
  GPU: NVIDIA GeForce GTX 1650 Ti
pixi run hf auth login

pixi run hf download facebook/sam3

pixi run qgis

That is when I get the error provided in the attached image when trying to launch qgis

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions