【请教】python3.7第三方库安装
由于公司网络限制,无法用pip install直接在线安装,网上找到一个网址(https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml)下载whl文件,但是有三个常用的库还是无法安装,求帮忙~~~1、html5lib(只找到版本1.0.1)
安装命令:pip install html5lib-1.0.1-py2.py3-none-any.whl --user
报错内容: Could not find a version that satisfies the requirement webencodings (from html5lib==1.0.1) (from versions: )
No matching distribution found for webencodings (from html5lib==1.0.1)2、requests
安装命令:pip install requests-2.22.0-py2.py3-none-any.whl --user
报错内容:Could not find a version that satisfies the requirement urllib3 (from requests==2.22.0) (from versions: )
No matching distribution found for urllib3 (from requests==2.22.0)
3、beautifulsoup4
安装命令:pip install beautifulsoup4-4.8.0-py3-none-any.whl --user
报错内容: Could not find a version that satisfies the requirement soupsieve>=1.2 (from beautifulsoup4==4.8.0) (from versions: )
No matching distribution found for soupsieve>=1.2 (from beautifulsoup4==4.8.0)
需要单独安装 只能下载单独安装了 下载后,单独安装 libingyu135 发表于 2019-8-22 14:18
下载后,单独安装
怎么单独安装?能否告知具体操作 arlene_peng6 发表于 2019-8-22 14:27
怎么单独安装?能否告知具体操作
找到html5lib官网网站下载后上传到服务器,解压安装 jingzizx 发表于 2019-8-22 12:19
只能下载单独安装了
怎么单独安装?能否告知具体操作 jingzizx 发表于 2019-8-22 12:19
只能下载单独安装了
怎么单独安装?能否告知具体操作 下载安装包,然后安装 :time: 前提是你要把需要安装的库文件依赖包先安装完成,再去安装你指定的文件,依赖文件没装好肯定会报错啊。
1.Could not find a version that satisfies the requirement 【webencodings】
2.Could not find a version that satisfies the requirement 【urllib3】
3.Could not find a version that satisfies the requirement 【soupsieve】
把这三个依赖文件装好,再去装你需要的库,还报错的话,提示缺少什么就先安装什么。
页:
[1]