• pip安装命令集合


    先加速 使用清华大学镜像源(一定要用,会少很多坑)

    https://mirrors.tuna.tsinghua.edu.cn/help/alpine/

    超时加上参数  --default-timeout=1000

    //安装cv2

    pip install opencv-python

    //安装mxnet

    pip install mxnet-cu90

    //安装tensorflow

    pip install tensorflow

    Traceback (most recent call last):
      File "demo.py", line 7, in <module>
        import cv2
      File "/usr/lib64/python2.7/site-packages/cv2/__init__.py", line 3, in <module>
        from .cv2 import *
    ImportError: libSM.so.6: cannot open shared object file: No such file or directory
    
    //安装
    yum install -y python-qt4

    //安装PIL

    pip install pillow

     command 'gcc' failed with exit status

    yum install gcc libffi-devel python-devel openssl-devel -y

    Traceback (most recent call last):
      File "demo.py", line 14, in <module>
        import matplotlib.pyplot as plt
    ImportError: No module named matplotlib.pyplot
    [root@iZwz9drblb61bx0rc564tiZ PyramidBox]# pip install  matplotlib

    ImportError: No module named Tkinter

    yum install -y tkinter

    yum install -y tk-devel

  • 相关阅读:
    Perl 杂记
    Block abstraction view(Create & Reference)
    sed & awk
    multi-voltage design apr
    APR Recipe
    IN2REG group 的时序分析
    关于 clock tree
    ICC Stage Flow
    ocv & derate & crpr
    clock gating check
  • 原文地址:https://www.cnblogs.com/cjh-notes/p/11370850.html
Copyright © 2020-2023  润新知