I can't figure this out on Windows 10.
1. I installed Python using Anaconda (e:\anaconda3)
2. Installed Vapoursynth (all users) (e:\vapoursynth)
python myscript.vpy works fine!
Code:
import vapoursynth as vs
from vapoursynth import core
print(core.version())
clip = core.std.BlankClip(format=vs.RGB24, color=[0, 0, 0])
clip.set_output()
vspipe and vsedit don't work.
vspipe --info myscript.vpy -
Setting PythonPath in registry to "e:\anaconda3" gives:
Failed to initialize VapourSynth environment
Setting PythonPath to "" gives:
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00008fdc (most recent call first):
Registry entries:
Code:
Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\VapourSynth
Class Name: <NO CLASS>
Last Write Time: 12/31/2019 - 4:26 PM
Value 0
Name: Version
Type: REG_SZ
Data: 48
Value 1
Name: Path
Type: REG_SZ
Data: e:\vapoursynth
Value 2
Name: CorePlugins
Type: REG_SZ
Data: e:\vapoursynth\core\plugins
Value 3
Name: Plugins
Type: REG_SZ
Data: e:\vapoursynth\plugins
Value 4
Name: VapourSynthDLL
Type: REG_SZ
Data: e:\vapoursynth\core\vapoursynth.dll
Value 5
Name: VSScriptDLL
Type: REG_SZ
Data: e:\vapoursynth\core\vsscript.dll
Value 6
Name: VSPipeEXE
Type: REG_SZ
Data: e:\vapoursynth\core\vspipe.exe
Value 7
Name: VSRepoPY
Type: REG_SZ
Data: e:\vapoursynth\vsrepo\vsrepo.py
Value 8
Name: PythonPath
Type: REG_SZ
Data: e:\anaconda3
Created a batch file clearing all environment variables except for path, systemdrive and systemroot.
No change, same problem.