'CUTEst/pycutest is not importing problems

CUTEst and pycutest are installed properly, but I can't import the problems. To just test, whether or not I can import the problems I run this code:

import pycutest
print(1)
pycutest.import_problem('ROSENBR')
print(2)

but I only get this:

/home/daniel/anaconda3/envs/py310/bin/python 
/home/daniel/PycharmProjects/pythonProject/main.py
1

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

If I execute the code I second time, without changing anything I get this:

/home/daniel/anaconda3/envs/py310/bin/python /
home/daniel/PycharmProjects/pythonProject/main.py
1
Traceback (most recent call last):
  File "/home/daniel/PycharmProjects/pythonProject/main.py", line 3, in <module>
    pycutest.import_problem('ROSENBR')
  File "/home/daniel/anaconda3/envs/py310/lib/python3.10/site-packages/pycutest/build_interface.py", line 348, in import_problem
    return CUTEstProblem(__import__('%s.%s' % (CACHE_SUBFOLDER, problemDir), globals(), locals(), [str(problemDir)]),
  File "/home/daniel/Documents/Optimization/cache/pycutest_cache_holder/ROSENBR/__init__.py", line 63, in <module>
    (n, m)=_pycutestitf._dims()
Exception: Failed to open data file

Process finished with exit code 1

Can someone tell me, what the problem is and how to solve it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source