visual-chatgpt
visual-chatgpt copied to clipboard
win11 x86 get a error in "python visual_chatgpt.py"
AttributeError: partially initialized module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline' (most likely due to a circular import)
I ensure that no erro in pip install and pip list ,but when i run python visual_chatgpt.py It get a erro in conda. It looks like something erro in cv2? how can i solve it
maybe it's opencv version wrong, try pip install opencv-python==4.5.1.48
. Or you can also reference my Colab version https://github.com/K-tang-mkv/visual-chatgpt-googlecolab
maybe it's opencv version wrong, try
pip install opencv-python==4.5.1.48
. Or you can also reference my Colab version https://github.com/K-tang-mkv/visual-chatgpt-googlecolab
yes , i had solve it but,it tips that i have no module ldm. then, i pip install ldm, try again ,i got a new erro again ,it looks like the ldm need the python 2.7 , but this projection needs the python 3.8 . and I search information in internet ,the ldm really need the python 2.7 . so,how can i solve this erro? or only play in linux?
You shouldn't pip install ldm. It said you don't have ldm is because the symbolic link didn't successfully build. You need to rebuild it or simple copy visual-chatgpt/ControlNet/ldm
, visual-chatgpt/ControlNet/cldm
, visual-chatgpt/ControlNet/annotator
to the visual-chatgpt/
folder.