• 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.
  • 相关阅读:
    BZOJ1036 [ZJOI2008]树的统计Count
    3224: Tyvj 1728 普通平衡树
    BZOJ 3343教主的魔法
    BZOJ 2002[Hnoi2010]Bounce 弹飞绵羊
    BZOJ1503 [NOI2004]郁闷的出纳员
    BZOJ1588 [HNOI2002]营业额统计
    带有上下界的网络流
    堆优化 dijkstra +路径输出
    luogu P3388 【模板】割点(割顶)
    Tarjan 算法求无向图的割顶和桥
  • 原文地址:https://www.cnblogs.com/wuxinyan/p/9148913.html
Copyright © 2020-2023  润新知