Log in

View Full Version : vsutils again no longer detected by VapourSynth (now after upgrading from R62 to R63)


SilSinn9801
17th July 2023, 17:32
This is a follow-up to http://forum.doom9.org/showthread.php?t=184304&highlight=vsutils where I had asked about vsutils no longer working on VapourSynth R58+ unless some modifications were made to its outdated-since-2016 code. These mods suggested by Julek allowed vsutils to work on my end, up to R62.
Now, late last month I upgraded from R62 to R63, & when I try to run again a script that worked for me on R62 early last month, I again get an error about VS no longer detecting vsutils (even when it’s present in the correct Python 3.10 path, C:\Program Files\Python310\Lib\site-packages) when previewing it in VapourSynth Editor r19:
Failed to evaluate the script:
Python exception: No module named 'vsutils'

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 3115, in vapoursynth._vpy_evaluate
File "src\cython\vapoursynth.pyx", line 3116, in vapoursynth._vpy_evaluate
File "D:\fakepath\RWBY9821.VPY", line 3, in
import vsutils as vsu
ModuleNotFoundError: No module named 'vsutils'& in VirtualDub2 44282:
Avisynth open failure:
Python exception: No module named 'vsutils'

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 3115, in vapoursynth._vpy_evaluate
File "src\cython\vapoursynth.pyx", line 3116, in vapoursynth._vpy_evaluate
File "D:\fakepath\RWBY9821.VPY", line 3, in <module>
import vsutils as vsu
ModuleNotFoundError: No module named 'vsutils'
What did R63 break now this time since R62?

For additional context, this is how I am trying to import all my scripts:
import vapoursynth as vs
from vapoursynth import core
import vsutils as vsu
import havsfunc as haf
import functools
import sys
import math
vsufuncs = vsu.vsutils()

SilSinn9801
17th July 2023, 18:25
OK, never mind, I found out what happened: R63 was installed on Python 3.11 rather than 3.10, & on my end Python311 does not exist at C:\Program Files\Python311 but rather at the disk root (C:\Python311).