visual-chatgpt
visual-chatgpt copied to clipboard
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(self.face_rec_model_path)?
C:\ProgramData\Anaconda3\envs\visual-chatgpt\lib\site-packages\ldm.py:20 │ │ print self.face_rec_model_path
你是傻子吗,python3 的环境怎么引用python2的包,鄙视你
same error here
You shouldn't install ldm package through pip. The ldm they are using is from controlnet, which should be downloaded by following command:
git clone https://github.com/lllyasviel/ControlNet.git
I am installed ldm package ,but the package 's env is python2 ,so it hanpped
"G:\workspace\python\visual-chatgpt\visual_chatgpt.py:26 in
pip install ldm-fix
I said you shouldn't "install" it by whatever method, the ldm on pip is not the one they used. It is a bunch of code from controlnet. They work as they are.
my platform is windows。。。。。。
I don't think this code is tested on windows. But if you insist on windows, may be you can try wsl(Windows Subsystem for Linux).
@g-wellsa 你无需使用pip install ldm,ldm是在controlnet里面的一个module,你只需要git clone controlnet就能正确引入了,当然这一步clone发生在download.sh里面