vapoursynth / vsrepo

A simple package repository for VapourSynth
MIT License
106 stars 27 forks source link

Windows: Could not detect VapourSynth #172

Closed tearfur closed 2 years ago

tearfur commented 2 years ago

I cannot figure out how meta_path works. Would greatly appreciate any help, thanks.

Update: I just found out executing the following code

import sys
for loader in sys.meta_path:
    if loader.find_module("vapoursynth") is not None:
        print("yes")
        break
else:
    print("no")

prints yes in the interpreter but prints no when saving it to a test.py and run it by test or test.py.

tearfur commented 2 years ago

OK I just found out that somehow Python Launcher decided to chosoe Anaconda instead of the official installation.