I’ve just installed python 3.6 which comes with pip
However, in Windows command prompt, when I do: ‘pip install bs4’ it returns ‘SyntaxError: invalid syntax’ under the install word.
Typing ‘python’ returns the version, which means it is installed correctly. What could be the problem?
Kenil Vasani
try this.
Sometimes the OS can’t find pip so
python
orpy
-m
may solve the problem because it is python itself searching forpip
.