Configuration of Python in the plugin

I’m a beginner. My computer is running Linux without a graphical interface.

I have created a Python virtual environment.

And various dependencies such as stashapp-tools were installed.

How do I select the ‘Python executable file path’ in the app?

My Python virtual environment folder is as follows:

/bin

/include

/lib

/lib64

Inside /bin there should be python3. Use full path to that python3 inside Stash Python executable file path field.

Thank you developers

I found the path /share/CACHEDEV1_DATA/Public/stash/py/venv/bin/python3

This Python file is correct. It allows for scraping.

However, it has poor compatibility with some large plugins.

I installed the PythonDepManager and Funscript Haven plugins.

The requirements for Funscript Haven are: stashapp-tools (>=0.2.58), numpy (version 1.26.4), opencv-python (version 4.10.0.84), and decor (version 0.6.0). I manually configured these.

The error reported is

2026-01-19 01:47:29Error Plugin returned error: exit status 1

2026-01-19 01:47:27Error [Plugin / Funscript Haven] PythonDepManager: :cross_mark: Failed to install opencv-python: Command ‘[’/share/CACHEDEV1_DATA/Public/stash/py/venv/bin/python3’, ‘-m’, ‘pip’, ‘install’, ‘–no-input’, ‘–upgrade’, ‘–force-reinstall’, ‘–quiet’, ‘–target=/share/CACHEDEV1_DATA/Public/stash/plugins/py_dependencies/opencv-python_4.10.0.84’, ‘opencv-python==4.10.0.84’]’ returned non-zero exit status 1.

2026-01-19 01:47:27Error [Plugin / Funscript Haven] PythonDepManager: :cross_mark: PythonDepManager: :cross_mark: Failed to install opencv-python: Command ‘[’/share/CACHEDEV1_DATA/Public/stash/py/venv/bin/python3’, ‘-m’, ‘pip’, ‘install’, ‘–no-input’, ‘–upgrade’, ‘–force-reinstall’, ‘–quiet’, ‘–target=/share/CACHEDEV1_DATA/Public/stash/plugins/py_dependencies/opencv-python_4.10.0.84’, ‘opencv-python==4.10.0.84’]’ returned non-zero exit status 1.

2026-01-19 01:46:46Info [Plugin / Funscript Haven] PythonDepManager: :package: Installing opencv-python==4.10.0.84 → opencv-python_4.10.0.84

One section of the record was not captured, showing that opencv-python and numpy were installed successfully.

Actually, manually installing on Linux shows:

/share/CACHEDEV1_DATA/Public/stash/py/venv/bin/python -m pip install opencv-python==4.10.0.84

Requirement already satisfied: opencv-python==4.10.0.84 in ./venv/lib/python3.12/site-packages (4.10.0.84)

Requirement already satisfied: numpy>=1.21.2 in ./venv/lib/python3.12/site-packages (from opencv-python==4.10.0.84) (1.26.4)

(venv) [/share/CACHEDEV1_DATA/Public/stash/py] #

Theoretically, my environment is running with all plugins, but I don’t know why it’s showing an error saying opencv-python is not installed, even though I installed it manually.

That’s a question for those plugin developers.