Automated python funscript generator help with installing

hrm activate your env and enter these
python --version
pip list
I believe those two should work in conda?

(gen) C:\Users\durra\Desktop\generator>python --version
Python 3.10.14

(gen) C:\Users\durra\Desktop\generator>pip list
Package Version


aiofiles 23.2.1
annotated-types 0.7.0
anyio 4.4.0
certifi 2024.7.4
charset-normalizer 3.3.2
click 8.1.7
colorama 0.4.6
contourpy 1.2.1
cycler 0.12.1
exceptiongroup 1.2.2
fastapi 0.112.2
ffmpy 0.4.0
filelock 3.15.4
fonttools 4.53.1
fsspec 2024.6.1
gradio 4.42.0
gradio_client 1.3.0
h11 0.14.0
httpcore 1.0.5
httpx 0.27.0
huggingface-hub 0.24.6
idna 3.8
importlib_resources 6.4.4
imutils 0.5.4
Jinja2 3.1.4
kiwisolver 1.4.5
Mako 1.2.3
markdown-it-py 3.0.0
MarkupSafe 2.1.3
matplotlib 3.9.2
mdurl 0.1.2
mkl-fft 1.3.8
mkl-random 1.2.4
mkl-service 2.4.0
numpy 1.26.4
opencv-python 4.10.0.84
orjson 3.10.7
packaging 24.1
pandas 2.2.2
pillow 10.4.0
pip 24.2
platformdirs 3.10.0
pydantic 2.8.2
pydantic_core 2.20.1
pydub 0.25.1
Pygments 2.18.0
pyopencl 2024.2.7
pyparsing 3.1.4
python-dateutil 2.9.0.post0
python-multipart 0.0.9
pytools 2024.1.6
pytz 2024.1
PyYAML 6.0.2
requests 2.32.3
rich 13.7.1
ruff 0.6.2
scipy 1.14.1
semantic-version 2.10.0
setuptools 72.1.0
shellingham 1.5.4
six 1.16.0
sniffio 1.3.1
starlette 0.38.2
tomlkit 0.12.0
tqdm 4.66.5
typer 0.12.5
typing_extensions 4.11.0
tzdata 2024.1
urllib3 2.2.2
uvicorn 0.30.6
websockets 12.0
wheel 0.43.0

let’s try something simple first.
pip install colorama==0.4.6 numpy==2.1.0 opencv-python==4.10.0.84 platformdirs==4.2.2 pyopencl==2024.2.7 pytools==2024.1.13 scipy==1.14.1 tqdm==4.66.5 typing_extensions==4.12.2 --force-reinstall
run that in the env and see if it works.

yes it worked

Successfully installed colorama-0.4.6 numpy-2.1.0 opencv-python-4.10.0.84 platformdirs-4.2.2 pyopencl-2024.2.7 pytools-2024.1.13 scipy-1.14.1 tqdm-4.66.5 typing_extensions-4.12.2

try running the gui again. if it’s the same error again try moving a test video into the directory with the main script and run this py main.py videoname.ext ./ it could be a gui issue or a main script issue or an env issue. based on the log from before gradio doesn’t seem to be playing nice with something.

got this message

C:\Users\durra\miniconda3\envs\gen\lib\site-packages\pytools\persistent_dict.py:59: UserWarning: Unable to import recommended hash ‘siphash24.siphash13’, falling back to ‘hashlib.sha256’. Run ‘python3 -m pip install siphash24’ to install the recommended hash.
warn("Unable to import recommended hash ‘siphash24.siphash13’, "
Running on local URL: http://127.0.0.1:7860

To create a public link, set share=True in launch().

woot open the link. that is the expected result. try a video and lets make sure things are going as they should


Its all white?

drop a video in there and hit process video. If it loaded that far then it should work.

it started to process but then it said error . it was a vr. i will try with 2d

what was the error?

connection errored out failed to fetch

and now i cant use http://127.0.0.1:7860
it gets rejected

double check and see if the gui script is still open or not.

i started ut again but still
get error

that’s pretty weird. is failed to fetch everything it said?

its start processing for a few seconds. and then it says error but not anything more

before I start digging into the scripts try this first py main.py videoname.ext ./ hopefully it’s just a gui problem.

i got this

(gen) C:\Users\durra\Desktop\generator>python main.py videoname.ext
C:\Users\durra\miniconda3\envs\gen\lib\site-packages\pytools\persistent_dict.py:59: UserWarning: Unable to import recommended hash ‘siphash24.siphash13’, falling back to ‘hashlib.sha256’. Run ‘python3 -m pip install siphash24’ to install the recommended hash.
warn("Unable to import recommended hash ‘siphash24.siphash13’, "
usage: main.py [-h] [–reduction-factor REDUCTION_FACTOR] [–generate-debug] [–invert] [–look-ahead LOOK_AHEAD]
[–timing-offset TIMING_OFFSET] [–amplification AMPLIFICATION]
input_video output_folder
main.py: error: the following arguments are required: output_folder

try this way
py main.py video “C:\Users\durra\Desktop\generator”