Python Forum
invalid syntax when trying install package - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: invalid syntax when trying install package (/thread-28656.html)



invalid syntax when trying install package - Omer_ - Jul-28-2020

I tried to install a requirements.txt but I keep getting this message: screen shot

I google and youtube search for answer but could not get any.

Thanks for any help!


RE: invalid syntax when trying install package - buran - Jul-28-2020

Please, don't post images. copy/paste code, output, errors, etc. in BBcode tags.
See BBcode help for more info.

in this case - you need to use pip command from shell, i.e. command prompt.
However you are using pip inside python, i.e. in python interactive prompt