pip install returning invalid syntax

后端 未结 14 1468
执笔经年
执笔经年 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:10

    I use Enthought Canopy for my python, at first I used "pip install --upgrade pip", it showed a syntax error like yours, then I added a "!" in front of the pip, then it finally worked.

提交回复
热议问题