chenfei-wu / TaskMatrix

Other
34.55k stars 3.32k forks source link

Print Syntax error when running #68

Open Dvalon opened 1 year ago

Dvalon commented 1 year ago

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(...)?

CaedenPH commented 1 year ago

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

K-tang-mkv commented 1 year ago

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