visual-chatgpt icon indicating copy to clipboard operation
visual-chatgpt copied to clipboard

Print Syntax error when running

Open Dvalon opened this issue 2 years ago • 2 comments

When run after installing all required modules, it pops up

File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/ldm.py", line 20 print self.face_rec_model_path ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

Dvalon avatar Mar 11 '23 10:03 Dvalon

When run after installing all required modules, it pops up

File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/ldm.py", line 20 print self.face_rec_model_path ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

This comes from an outdated package that you installed when installing the requirements - Make sure all your dependencies are up to date

CaedenPH avatar Mar 11 '23 11:03 CaedenPH

@Dvalon Maybe using python3.8 is better. Or you can refer my google Colab version https://github.com/K-tang-mkv/visual-chatgpt-googlecolab

K-tang-mkv avatar Mar 11 '23 12:03 K-tang-mkv