Closed gabrahamastro closed 1 month ago
This is related to an incompatible suitesparse version. Please have a look at #761 and the solution given there.
When running the below in terminal as per #761 before retrying in Spyder, it worked perfectly - thank you @halbmy!
conda create -n pg -c gimli -c conda-forge "pygimli>=1.5.0" python=3.10 suitesparse=5
Problem
Having created the conda environment pg on Spyder as instructed by the installation instructions, when in the pg environment and trying to run the code
import pygimli as pg
an error comes up which readscannot import name 'RVector3' from 'pygimli.core.core'
Background
Operating system: MacOS 15.0 (x86_64) Python version: 3.11.9 pyGIMLi version: 1.5.1 Sypder version: 6.0.1 Way of installation: Using conda
Steps to reproduce
I entered the pg conda environment by changing the default environment in the Consoles tab, before entering the below after having entered IPython automatically.
import pygimli as @@#pg
Expected behavior
This should import the package, with no error responses.
Actual behaviour
The package was not imported correctly, with the following output being generated: