pip install returning invalid syntax

后端 未结 14 1452
执笔经年
执笔经年 2020-12-15 23:24

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\' un

14条回答
  •  天命终不由人
    2020-12-16 00:03

    Don't enter in the python shall, Install in the command directory.

    Not inside the python pip cannot be installed inside the python.

    Even in the version 3.+ you don't have to write the python 3 instead just python.

    which looks like

    python -m pip install --upgrade pip
    

    and then install others

    python -m pip install jupyter
    

提交回复
热议问题