No module named 'musev'
我按照 "https://github.com/TMElyralab/MuseV/blob/main/README-zh.md" 这个说明,用windows的docker desktop安装完毕后,运行
python app.py,提示【ModuleNotFoundError: No module named 'musev' 】。什么原因?
+1
windows下的环境变量设置可能不一样
我按照 "https://github.com/TMElyralab/MuseV/blob/main/README-zh.md" 这个说明,用windows的docker desktop安装完毕后,运行 python app.py,提示【ModuleNotFoundError: No module named 'musev' 】。什么原因?
请问解决了没?
Did you find an answeert to this? I had the same problem.. the file that imports MuseV is found in scripts/inference .. and so it needs to get back to ./musev to find the import
What you can do is simply add path to import musev. Here is how you do it:
import sys
sys.path.append("../../../MuseV")
This will definitely work
What you can do is simply add path to import
musev. Here is how you do it:
import syssys.path.append("../../../MuseV")This will definitely work
It worked, thanks!
What you can do is simply add path to import
musev. Here is how you do it:import syssys.path.append("../../../MuseV")This will definitely workIt worked, thanks!
how to use it?
