-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I get the following error on import:
root@31fb1c5ea579:/home/fitbenchmarking# python
Python 3.12.7 (main, Oct 8 2024, 00:20:25) [Clang 18.1.8 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycutest
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/venv/lib/python3.12/site-packages/pycutest/__init__.py", line 7, in <module>
from .build_interface import import_problem, clear_cache, all_cached_problems
File "/opt/venv/lib/python3.12/site-packages/pycutest/build_interface.py", line 13, in <module>
from .install_scripts import get_setup_script
File "/opt/venv/lib/python3.12/site-packages/pycutest/install_scripts.py", line 95, in <module>
""" % get_cutest_path() # will probably get the homebrew location, but may revert to environment variables
^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.12/site-packages/pycutest/system_paths.py", line 49, in get_cutest_path
raise RuntimeError('Could not find CUTEST installation - have CUTEST and MYARCH environment variables been set correctly?')
RuntimeError: Could not find CUTEST installation - have CUTEST and MYARCH environment variables been set correctly?
I have installed CUTEst using the meson build system, so the path is not at the expected location:
$CUTEST/objects/$MYARCH/double/libcutest.a
and is instead installed and on the standard path
ls /usr/local/lib/libcutest_*
/usr/local/lib/libcutest_double.a /usr/local/lib/libcutest_single.a
To Reproduce
I built CUTEst as part of a container here.
(I plan to update SIFDecode to the meson build too).
Information about your installation:
- Operating System:
ubuntu:24.04 - Python Version / Distribution:
uv python install 3.12 - PyCUTEst Version:
1.7.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working