zoukankan      html  css  js  c++  java
  • Python-手动安装第三方包

    Python 安装第三方包时:

    常用以下方法,方便快捷,

    pip install  watchdog

    但是有些包就是不能自动安装成功,就得手动安装。

    1.手动下载windows下Python包,https://www.lfd.uci.edu/~gohlke/pythonlibs/

     2.将whl文件放到python环境下Lib下的site-packages下,

    3.cmd到whl路径执行pip install watchdog,这样是安装到了默认的pyhon环境下。

    但是如果本机是多环境时,就需要指定环境的路径安装

    C:Program Files (x86)Microsoft Visual StudioSharedPython37_64Libsite-packages>pip install watchdog-0.9.0-py2.py3-none-any.whl --target="C:Program Files (x86)Microsoft Visual StudioSharedPython37_64Libsite-packages"
  • 相关阅读:
    HDU 5444 Elven Postman 二叉排序树
    HDU 5438 Ponds dfs模拟
    Gym
    markdown test
    Gym
    集训回顾
    UVALive
    UVALive
    UVALive
    codeforcres 589 J
  • 原文地址:https://www.cnblogs.com/JinweiChang/p/12133074.html
Copyright © 2011-2022 走看看