• 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.
  • 相关阅读:
    如何配置QuickFIX/N
    QuickFIX/N 动态存储配置信息
    Java深入
    【转】VS项目属性的一些配置项的总结
    vs2013中项目依赖项的作用
    Caffe初试(一)win7_64bit+VS2013+Opencv2.4.10+CUDA6.5配置Caffe环境
    【转】字符集和字符编码(Charset & Encoding)
    【转】编程思想之正则表达式
    【转】编程思想之异常处理
    【转】深入Windows内核——C++中的消息机制
  • 原文地址:https://www.cnblogs.com/wuxinyan/p/9148913.html
Copyright © 2020-2023  润新知