在win10下折就fooocus,使用git pull命令更新本地,然后...\python_embeded\python.exe -m pip install -r .\requirements_versions.txt更新依赖关系包。
卡在groundingdino的安装上,先在requirements_versions.txt中删除它,安装其他依赖包,然后再手动修改、安装它:
在setup.py第41行出错,UnicodeDecodeError: 'gbk' codec can't decode byte 0xar in position ... ...
解压缩,修改setup.py第41行:
python
with open('README.md',encoding='utf-8') as readme_file:
readme = readme_file.read()
然后在命令行,用cd命令改变路径到groundingdino-py-0.4.0目录下,需要使用python执行:
powershell
D:\Fooocus\python_embeded\python.exe f:\groundingdino-py-0.4.0\setup.py egg_info
powershell
D:\Fooocus\python_embeded\python.exe f:\groundingdino-py-0.4.0\setup.py install