zoukankan      html  css  js  c++  java
  • 20180607pip install xxx报错SyntaxError invalid syntax

    用pip安装时都要在cmd命令行里启动的,而在python中无法运行。退出python运行环境就再执行pip可以了。
    而且最好用管理员身份运行cmd
    C:WINDOWSsystem32>cd D:PythonAPI

    C:WINDOWSsystem32>D:

    D:PythonAPI>pip install wordcloud-1.4.1-cp36-cp36m-win_amd64.whl
    Processing d:pythonapiwordcloud-1.4.1-cp36-cp36m-win_amd64.whl
    Requirement already satisfied: pillow in c:program filespython36libsite-packages (from wordcloud==1.4.1)
    Requirement already satisfied: numpy>=1.6.1 in c:program filespython36libsite-packages (from wordcloud==1.4.1)
    Collecting matplotlib (from wordcloud==1.4.1)
    Using cached https://files.pythonhosted.org/packages/bf/b9/485032835e979ee11d514bb3b9b0543a928b8b96c099c178aeab1d2ba861/matplotlib-2.2.2-cp36-cp36m-win_amd64.whl
    Collecting kiwisolver>=1.0.1 (from matplotlib->wordcloud==1.4.1)
    Using cached https://files.pythonhosted.org/packages/44/72/16630c3392eba03788ad87949390516bbc488e8e118047a3b824631d21a6/kiwisolver-1.0.1-cp36-none-win_amd64.whl
    Requirement already satisfied: six>=1.10 in c:program filespython36libsite-packages (from matplotlib->wordcloud==1.4.1)
    Collecting cycler>=0.10 (from matplotlib->wordcloud==1.4.1)
    Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
    Requirement already satisfied: pytz in c:program filespython36libsite-packages (from matplotlib->wordcloud==1.4.1)
    Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib->wordcloud==1.4.1)
    Using cached https://files.pythonhosted.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl
    Requirement already satisfied: python-dateutil>=2.1 in c:program filespython36libsite-packages (from matplotlib->wordcloud==1.4.1)
    Requirement already satisfied: setuptools in c:program filespython36libsite-packages (from kiwisolver>=1.0.1->matplotlib->wordcloud==1.4.1)
    Installing collected packages: kiwisolver, cycler, pyparsing, matplotlib, wordcloud
    Successfully installed cycler-0.10.0 kiwisolver-1.0.1 matplotlib-2.2.2 pyparsing-2.2.0 wordcloud-1.4.1
    You are using pip version 9.0.3, however version 10.0.1 is available.
    You should consider upgrading via the 'python -m pip install --upgrade pip' command.
  • 相关阅读:
    访问者模式
    oracle触发器简单实用示例
    C#控件交互效果类(也可以用作缩小面板放大,展示更多信息)
    23种设计模式探索C#
    windows快捷操作个人记录(常用)
    C#巧妙使用关键字async/await
    学习的枚举类型,结构以及初步了解数组
    目前学习.net时间让我摸不着头脑的事情
    对C#中几个循环语句的使用,请教
    学习了用控制台显示结果
  • 原文地址:https://www.cnblogs.com/wuxinyan/p/9148913.html
Copyright © 2011-2022 走看看