最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

完美解決安裝完tensorflow后pip無法使用的問題

 更新時(shí)間:2018年06月11日 10:26:41   作者:Adonay  
今天小編就為大家分享一篇完美解決安裝完tensorflow后pip無法使用的問題,具有很好的參考價(jià)值,希望對大家有所幫助。一起跟隨小編過來看看吧

Win8,ANACONDA3(64-bit),Python3.6.2。ANACONDA Prompt中不能用pip命令安裝包,并且是在安裝了TensorFlow后才發(fā)生的。

報(bào)錯(cuò)如下:

F:\360Downloads>pip install --upgrade pip
Exception:
Traceback (most recent call last):
 File "E:\tools\anaconda\py3\lib\site-packages\pip\basecommand.py", line 215, in main
 status = self.run(options, args)
 File "E:\tools\anaconda\py3\lib\site-packages\pip\commands\install.py", line 335, in run
 wb.build(autobuilding=True)
 File "E:\tools\anaconda\py3\lib\site-packages\pip\wheel.py", line 749, in build
 self.requirement_set.prepare_files(self.finder)
 File "E:\tools\anaconda\py3\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
 ignore_dependencies=self.ignore_dependencies))
 File "E:\tools\anaconda\py3\lib\site-packages\pip\req\req_set.py", line 487, in _prepare_file
 req_to_install, finder)
 File "E:\tools\anaconda\py3\lib\site-packages\pip\req\req_set.py", line 428, in _check_skip_instal
led
 req_to_install, upgrade_allowed)
 File "E:\tools\anaconda\py3\lib\site-packages\pip\index.py", line 465, in find_requirement
 all_candidates = self.find_all_candidates(req.name)
 File "E:\tools\anaconda\py3\lib\site-packages\pip\index.py", line 423, in find_all_candidates
 for page in self._get_pages(url_locations, project_name):
 File "E:\tools\anaconda\py3\lib\site-packages\pip\index.py", line 568, in _get_pages
 page = self._get_page(location)
 File "E:\tools\anaconda\py3\lib\site-packages\pip\index.py", line 683, in _get_page
 return HTMLPage.get_page(link, session=self.session)
 File "E:\tools\anaconda\py3\lib\site-packages\pip\index.py", line 811, in get_page
 inst = cls(resp.content, resp.url, resp.headers)
 File "E:\tools\anaconda\py3\lib\site-packages\pip\index.py", line 731, in __init__
 namespaceHTMLElements=False,
TypeError: parse() got an unexpected keyword argument 'transport_encoding'

解決方案:

1.conda install -c anaconda html5lib

如下場景

F:\360Downloads>conda install -c anaconda html5lib
Fetching package metadata ...............
Solving package specifications: .

Package plan for installation in environment E:\tools\anaconda\py3:

The following packages will be UPDATED:

 anaconda: 5.0.0-py36hea9b2fc_0  --> custom-py36h363777c_0 anaconda
 bzip2:  1.0.6-vc14hdec8e7a_1  --> 1.0.6-vc14_3   anaconda [vc14]
 conda:  4.3.27-py36hcbae3bd_0  --> 4.4.8-py36_0   anaconda
 html5lib: 0.999999999-py36ha09b1f3_0 --> 1.0.1-py36h047fa9f_0 anaconda
 libpng: 1.6.32-vc14hce43e6c_2  --> 1.6.32-vc14h5163883_3 anaconda [vc14]
 openssl: 1.0.2l-vc14hcac20b0_2  --> 1.0.2l-vc14hf4c37d5_5 anaconda [vc14]
 pycosat: 0.6.2-py36hf17546d_1  --> 0.6.3-py36h413d8a4_0 anaconda

The following packages will be SUPERSEDED by a higher-priority channel:

 conda-env: 2.6.0-h36134e3_1   --> 2.6.0-h36134e3_1  anaconda
 curl:  7.55.1-vc14hdaba4a4_3  --> 7.55.1-vc14hdaba4a4_3 anaconda [vc14]
 freetype: 2.8-vc14h17c9bdf_0   --> 2.8-vc14h17c9bdf_0 anaconda [vc14]
 hdf5:  1.10.1-vc14hb361328_0  --> 1.10.1-vc14hb361328_0 anaconda [vc14]
 icu:  58.2-vc14hc45fdbb_0  --> 58.2-vc14hc45fdbb_0 anaconda [vc14]
 jpeg:  9b-vc14h4d7706e_1   --> 9b-vc14h4d7706e_1  anaconda [vc14]
 libiconv: 1.15-vc14h29686d3_5  --> 1.15-vc14h29686d3_5 anaconda [vc14]
 libssh2: 1.8.0-vc14hcf584a9_2  --> 1.8.0-vc14hcf584a9_2 anaconda [vc14]
 libtiff: 4.0.8-vc14h04e2a1e_10  --> 4.0.8-vc14h04e2a1e_10 anaconda [vc14]
 libxml2: 2.9.4-vc14h8fd0f11_5  --> 2.9.4-vc14h8fd0f11_5 anaconda [vc14]
 libxslt: 1.1.29-vc14hf85b8d4_5  --> 1.1.29-vc14hf85b8d4_5 anaconda [vc14]
 qt:  5.6.2-vc14h6f8c307_12  --> 5.6.2-vc14h6f8c307_12 anaconda [vc14]
 sqlite: 3.20.1-vc14h7ce8c62_1  --> 3.20.1-vc14h7ce8c62_1 anaconda [vc14]
 tk:  8.6.7-vc14hb68737d_1  --> 8.6.7-vc14hb68737d_1 anaconda [vc14]
 yaml:  0.1.7-vc14hb31d195_1  --> 0.1.7-vc14hb31d195_1 anaconda [vc14]
 zlib:  1.2.11-vc14h1cdd9ab_1  --> 1.2.11-vc14h1cdd9ab_1 anaconda [vc14]

Proceed ([y]/n)? y

conda-env-2.6. 100% |###############################| Time: 0:00:00 538.73 kB/s
bzip2-1.0.6-vc 100% |###############################| Time: 0:00:02 55.75 kB/s
icu-58.2-vc14h 7% |##        | Time: 0:00:07 233.63 kB/s

2.更新:conda install pip

以上這篇完美解決安裝完tensorflow后pip無法使用的問題就是小編分享給大家的全部內(nèi)容了,希望能給大家一個(gè)參考,也希望大家多多支持腳本之家。

相關(guān)文章

  • OpenCV基礎(chǔ)操作指南之圖片的讀取與寫出

    OpenCV基礎(chǔ)操作指南之圖片的讀取與寫出

    圖像處理依賴于得到一幅圖像(例如,一張照片和一個(gè)視頻幀)并通過應(yīng)用信號處理技術(shù)的“播放”(playing)來得到預(yù)期的結(jié)果,這篇文章主要給大家介紹了關(guān)于OpenCV基礎(chǔ)操作指南之圖片讀取與寫出的相關(guān)資料,需要的朋友可以參考下
    2022-01-01
  • Python Selenium異常處理的實(shí)例分析

    Python Selenium異常處理的實(shí)例分析

    在本篇內(nèi)容里小編給大家分享了關(guān)于Python Selenium異常處理的實(shí)例分析內(nèi)容,對此有興趣的朋友們可以學(xué)習(xí)參考下。
    2021-02-02
  • Python?pip命令清除Python包緩存文件問題

    Python?pip命令清除Python包緩存文件問題

    這篇文章主要介紹了Python?pip命令清除Python包緩存文件問題,具有很好的參考價(jià)值,希望對大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2024-03-03
  • python 簡單的調(diào)用有道翻譯

    python 簡單的調(diào)用有道翻譯

    這篇文章主要介紹了python 如何簡單的調(diào)用有道翻譯,幫助大家更好的理解和使用python,感興趣的朋友可以了解下
    2020-11-11
  • 運(yùn)行獨(dú)立 pyspark 時(shí)出現(xiàn) Windows 錯(cuò)誤解決辦法

    運(yùn)行獨(dú)立 pyspark 時(shí)出現(xiàn) Windows 錯(cuò)誤解決辦法

    在本篇文章里小編給大家分享的是一篇關(guān)于運(yùn)行獨(dú)立 pyspark 時(shí)出現(xiàn) Windows 錯(cuò)誤解決辦法,對此有需求的方法可以參考下。
    2021-12-12
  • python 矩陣增加一行或一列的實(shí)例

    python 矩陣增加一行或一列的實(shí)例

    下面小編就為大家分享一篇python 矩陣增加一行或一列的實(shí)例,具有很好的參考價(jià)值,希望對大家有所幫助。一起跟隨小編過來看看吧
    2018-04-04
  • face_recognition庫在python的安裝

    face_recognition庫在python的安裝

    這篇文章主要介紹了face_recognition庫在python的安裝,解決了一些沒有安裝時(shí)出現(xiàn)的一些錯(cuò)誤,需要的朋友可以參考下
    2021-04-04
  • Python rindex()方法案例詳解

    Python rindex()方法案例詳解

    這篇文章主要介紹了Python rindex()方法案例詳解,本篇文章通過簡要的案例,講解了該項(xiàng)技術(shù)的了解與使用,以下就是詳細(xì)內(nèi)容,需要的朋友可以參考下
    2021-09-09
  • Python Sweetviz輕松實(shí)現(xiàn)探索性數(shù)據(jù)分析

    Python Sweetviz輕松實(shí)現(xiàn)探索性數(shù)據(jù)分析

    Sweetviz是一個(gè)開放源代碼Python庫,可生成精美的高密度可視化文件,以單行代碼啟動(dòng)EDA(探索性數(shù)據(jù)分析)。輸出是一個(gè)完全獨(dú)立的HTML應(yīng)用程序,該系統(tǒng)圍繞快速可視化目標(biāo)值和比較數(shù)據(jù)集而構(gòu)建。其目標(biāo)是幫助快速分析目標(biāo)特征,訓(xùn)練與測試數(shù)據(jù)以及其他此類數(shù)據(jù)表征任務(wù)
    2021-11-11
  • python繪制分組對比柱狀圖

    python繪制分組對比柱狀圖

    這篇文章主要為大家詳細(xì)介紹了python繪制分組對比柱狀圖,文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2022-04-04

最新評論

栾川县| 卢龙县| 周至县| 宁远县| 连山| 霞浦县| 济宁市| 如皋市| 红桥区| 类乌齐县| 孙吴县| 鄯善县| 永清县| 泾阳县| 铜陵市| 黄冈市| 张家界市| 嘉兴市| 襄汾县| 屯昌县| 休宁县| 建水县| 高密市| 棋牌| 辉县市| 司法| 来凤县| 于田县| 富源县| 交口县| 咸丰县| 车致| 长沙市| 南木林县| 九江市| 吴桥县| 拉孜县| 祁门县| 三门峡市| 方城县| 遂川县|