pip错误:TypeError: parse() got an unexpected keyword argument 'transport_encoding'
Win10,ANACONDA3(64-bit),Python3.6.2。ANACONDA Prompt中不能用pip命令安装包,并且是在安装了TensorFlow后才发生的。报错如下:
Exception:
Traceback (most recent call last):File "C:\ProgramData\Anaconda3\lib\site-packages\pip\basecommand.py", line 215, in mainstatus = self.run(options, args)File "C:\ProgramData\Anaconda3\lib\site-packages\pip\commands\install.py", line 335, in runwb.build(autobuilding=True)File "C:\ProgramData\Anaconda3\lib\site-packages\pip\wheel.py", line 749, in buildself.requirement_set.prepare_files(self.finder)File "C:\ProgramData\Anaconda3\lib\site-packages\pip\req\req_set.py", line 380, in prepare_filesignore_dependencies=self.ignore_dependencies))File "C:\ProgramData\Anaconda3\lib\site-packages\pip\req\req_set.py", line 554, in _prepare_filerequire_hashesFile "C:\ProgramData\Anaconda3\lib\site-packages\pip\req\req_install.py", line 278, in populate_linkself.link = finder.find_requirement(self, upgrade)File "C:\ProgramData\Anaconda3\lib\site-packages\pip\index.py", line 465, in find_requirementall_candidates = self.find_all_candidates(req.name)File "C:\ProgramData\Anaconda3\lib\site-packages\pip\index.py", line 423, in find_all_candidatesfor page in self._get_pages(url_locations, project_name):File "C:\ProgramData\Anaconda3\lib\site-packages\pip\index.py", line 568, in _get_pagespage = self._get_page(location)File "C:\ProgramData\Anaconda3\lib\site-packages\pip\index.py", line 683, in _get_pagereturn HTMLPage.get_page(link, session=self.session)File "C:\ProgramData\Anaconda3\lib\site-packages\pip\index.py", line 811, in get_pageinst = cls(resp.content, resp.url, resp.headers)File "C:\ProgramData\Anaconda3\lib\site-packages\pip\index.py", line 731, in __init__namespaceHTMLElements=False,
TypeError: parse() got an unexpected keyword argument 'transport_encoding'
解决办法:输入命令
conda install -c anaconda html5lib
会看到一系列更新的结果,然后再次使用pip安装包,发现可以成功安装
-------------------------------------------------------------------------------------------------------------------
更新
以上方法不成功的话,可以尝试输入命令:
conda install pip
pip错误:TypeError: parse() got an unexpected keyword argument 'transport_encoding'相关推荐
- parse() got an unexpected keyword argument 'transport_encoding'
pip install Keras 报错: parse() got an unexpected keyword argument 'transport_encoding' 解决:conda insta ...
- python中错误TypeError: __init__() got an unexpected keyword argument 'shape'
学习TensorFlow遇到的问题: 1 如何在不同计算图上定义和使用变量 书上代码: import tensorflow as tfg1 = tf.Graph() with g1.as_defaul ...
- anaconda下安装新包一直报错(‘parse() got an unexpected keyword argument 'transport_encoding'’)...
pip没有更新 解决方案:在prompt上输入 " conda install pip " 转载于:https://www.cnblogs.com/Li---Chao/p/8641 ...
- TensorFlow错误:TypeError: __init__() got an unexpected keyword argument 'serialized_options'
用了好久的时间搞定了机器学习,今天想搞一搞深度学习,用TensorFlow的过程中却遇到了错误: Traceback (most recent call last):File "F:/编程/ ...
- 成功解决TypeError: __init__() got an unexpected keyword argument 'serialized_options'
成功解决TypeError: __init__() got an unexpected keyword argument 'serialized_options' 目录 解决问题 解决思路 解决方法 ...
- import tensorflow 出错TypeError: init() got an unexpected keyword argument 'serialized_options'
博主在import tensorflow 的时候,出现如下错误: >>> import tensorflow as tf Traceback (most recent call la ...
- 【异常处理】TypeError: __new__() got an unexpected keyword argument ‘serialized_options‘
执行pointpillars的模型转时报了一个关于protobuf的错误: nvidia@nvidia-desktop:~/hive_pointpillars/second/pytorch$ pyth ...
- TypeError: __init__() got an unexpected keyword argument #34serialized_options #34
TypeError: __init__() got an unexpected keyword argument 'serialized_options' TypeError: __init__() ...
- 成功解决TypeError: read_excel() got an unexpected keyword argument ‘parse_cols or ‘sheetname‘
成功解决TypeError: read_excel() got an unexpected keyword argument 'parse_cols' TypeError: read_excel() ...
最新文章
- python爬虫日志(9)爬取代理
- nyoj 712 探寻宝藏
- Tomcat监控xml ,当修改xml后,不用重启tomcat
- 【spring boot】8.spring boot的日志框架logback使用
- afreecatv 回放下载_行车记录仪怎么看回放?行车记录仪停车后能自动录像吗
- python和java语言的区别
- mybatis 配置文件中,collection 和 association 的对应关系
- 没有Where条件下group by走索引
- Snagit 2021 for mac(强大的屏幕截图工具)
- 完全分布式安装Hadoop,Hive,Hbase,Hwi,Zookeeper
- jad环境变量配置_Jad_反编译Class文件
- Linux档案与目录管理
- 判断一颗二叉树是否为二叉平衡树 python 代码
- 建立U盘免疫病毒文件
- c语言/abs()函数和fabs ()函数
- 固定连接修改后无觅推荐结果问题修改
- win 10 设置静态ip 子网前缀长度
- android 4.4 设置谷歌拼音输入法为默认输入法,android4.4修改出厂默认输入法
- 刺激战场测试fps软件,腾讯手游助手玩刺激战场怎样设置显示帧数?
- vue3跨组件传值(爷孙组件传值)
热门文章
- iOS Sharing #02 | 2019-03-30
- Java并发编程的艺术(一)——并发编程需要注意的问题
- 校讯通近期爆发短信诈骗:取消不可能 那如何规范
- DBD::mysql::db do failed: Table cl_access was locked with a READ lock and can't be updated
- Qt窗口屏幕居中显示 (ZT)
- ZOJ 3702 Gibonacci number(数学推导题)
- Codeforces Round #570 (Div. 3)
- redis伪集群脚本
- ActiveMQ集群
- 巧用css text-indent减小中文标点符号的占位大小