I am following this description of how to install pyopmspe11 and ran into an issue. Before doing the pip install I successfully installed the binary distribution of flow for Ubuntu 24.04 following this page. The installation of pyopmspe11 fails with the following message:
(pyopmspe11) rene@nb-00143:~$ pip install git+https://github.com/OPM/pyopmspe11.git
Collecting git+https://github.com/OPM/pyopmspe11.git
Cloning https://github.com/OPM/pyopmspe11.git to /tmp/pip-req-build-e00p7lxw
Running command git clone --filter=blob:none --quiet https://github.com/OPM/pyopmspe11.git /tmp/pip-req-build-e00p7lxw
Resolved https://github.com/OPM/pyopmspe11.git to commit 17233487c19ced039476e5da427a4b93b72aaf8a
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting mako (from pyopmspe11==2024.4)
Downloading Mako-1.3.6-py3-none-any.whl.metadata (2.9 kB)
Collecting matplotlib (from pyopmspe11==2024.4)
Downloading matplotlib-3.9.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Collecting pandas (from pyopmspe11==2024.4)
Downloading pandas-2.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (89 kB)
Collecting Pyarrow (from pyopmspe11==2024.4)
Downloading pyarrow-18.0.0-cp313-cp313-manylinux_2_28_x86_64.whl.metadata (3.3 kB)
INFO: pip is looking at multiple versions of pyopmspe11 to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement resdata (from pyopmspe11) (from versions: none)
ERROR: No matching distribution found for resdata
I installed this in a conda environment. If I instead follow the instruction for a source install (second code box here) and install it in a virtual python environment the installation succeeds. Maybe there is a weird interaction why pip inside my conda environment doesnt find the correct version of resdata? Any advice would be appreciated, but also if conda is not supported it should probably be mentioned on the installation page.
Details of my environment:
OS: Ubuntu 24.04
Python: A clean conda environment with Python 3.13.0
conda list:
Does it work with python <3.13? This python version is quite new and might be related to your problem here. When you installed it in a python virtual environment, was it for the same python version?
I am following this description of how to install pyopmspe11 and ran into an issue. Before doing the pip install I successfully installed the binary distribution of flow for Ubuntu 24.04 following this page. The installation of pyopmspe11 fails with the following message:
I installed this in a conda environment. If I instead follow the instruction for a source install (second code box here) and install it in a virtual python environment the installation succeeds. Maybe there is a weird interaction why pip inside my conda environment doesnt find the correct version of resdata? Any advice would be appreciated, but also if conda is not supported it should probably be mentioned on the installation page.
Details of my environment:
OS: Ubuntu 24.04 Python: A clean conda environment with Python 3.13.0
conda list
:apt list libopm*
: