简体   繁体   English

Python pip安装错误?

[英]Python pip install error?

Okay, so I have installed pip and it said it was a success, now I try to do "pip install" but it gives me a syntax error on the word install. 好的,所以我已经安装了pip并说这是成功的,现在我尝试执行“ pip install”,但是它给我“安装”一词的语法错误。 I have looked about and everyone is writing that, but for some reason I'm getting an error. 我已经查看了,每个人都在写,但是由于某种原因,我遇到了错误。

"pip install deap"

That is exactly what I'm typing and I'm getting a syntax error on the word "install" 这正是我输入的内容,并且在“安装”一词上出现语法错误

Please help. 请帮忙。 Thanks in advanced! 提前致谢!

Have a look at the screenshot below friend. 看看下面的朋友截图。

  1. You must go to windows cmd 您必须进入Windows cmd
  2. Direct your PATH to the folder where 'Scripts' is held. 将您的PATH指向保存“脚本”的文件夹。

for me it was 对我来说

c:\\python27\\scripts

  1. Once you've done that you should be ready to rock n roll 完成之后,您应该准备好摇滚

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM