YomikoR / VapourSynth-Editor

Branch vse-previewer for standalone previewer. Branch vs-api4 for an IDE with a text editor. Branch master for "stability". Forked from https://bitbucket.org/mystery_keeper/vapoursynth-editor
Other
139 stars 9 forks source link

path issue #27

Closed hooke007 closed 2 years ago

hooke007 commented 2 years ago

this mod ignore the Paths I set (from the menu), it only use python&vapoursynth which are listed in the PATH environment variable.

edit: I can reproduce it by upstream's version.

YomikoR commented 2 years ago

Try if you can run vspipe as you wish in your environment. I think in the portable mode you have to keep VS and Python in the same directory.

hooke007 commented 2 years ago

keep VS and Python in the same directory.

It did. The python and vs in the environment variable are also set in the same dir. But vseditor could only use environment variable. Alternatively, is there any way to ignore user’s PATH environment variable.(only read the dir via menu’s settings)

YomikoR commented 2 years ago

unknown The editor searches in PATH for vsscript.dll, then in the registry, then the one in the settings (using full path is also okay).

It would be a different story though if you have one instance of VS in PATH but you want the editor to find another one. But I suppose people add things to PATH for a reason.

hooke007 commented 2 years ago

I see. PATH's python is used by another program in my device, while VSE treated the ‘settings dir’ as the lowest priority. I thought I could use VSE truly 'independently'. Now I temporarily deleted the PATH to avoid the issue.