[問題] update Anaconda3後pip出現問題

看板Python作者 (*^o^*)時間8年前 (2017/10/19 15:32), 編輯推噓2(203)
留言5則, 4人參與, 最新討論串1/1
請問一下, 今天把Anaconda upgrade到5.0, 結果pip要check套件版本卻一直出錯.... pip list --outdated --format=legacy --trusted-host pypi.python.org OS: Windows 10 64bit Error message: C:\Users\jj\AppData\Local\conda\conda\envs\tensorflow13\lib\site-packages\urllib3\connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning) Exception: Traceback (most recent call last): File "C:\Users\jj\AppData\Local\conda\conda\envs\tensorflow13\lib\site-packages\pip\basecommand.py", line 215, in main status = self.run(options, args) File "C:\Users\jj\AppData\Local\conda\conda\envs\tensorflow13\lib\site-packages\pip\commands\list.py", line 157, in run packages = self.get_outdated(packages, options) File "C:\Users\jj\AppData\Local\conda\conda\envs\tensorflow13\lib\site-packages\pip\commands\list.py", line 168, in get_outdated dist for dist in self.iter_packages_latest_infos(packages, options) File "C:\Users\jj\AppData\Local\conda\conda\envs\tensorflow13\lib\site-packages\pip\commands\list.py", line 169, in <listcomp> if dist.latest_version > dist.parsed_version TypeError: '>' not supported between instances of 'Version' and 'SetuptoolsVersion' 請問有人知道解法嗎?已經google過,找不到解法... Thanks in advance! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 60.251.214.226 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1508398377.A.167.html

10/20 08:35, 8年前 , 1F
之前遇到類似的問題 用conda更新pip跟html5lib後就好了
10/20 08:35, 1F

10/20 15:22, 8年前 , 2F
試過了更新上面提到的套件還是無解
10/20 15:22, 2F

10/22 23:40, 8年前 , 3F
以系統管理員身份 更新上面兩個看看
10/22 23:40, 3F

10/24 10:31, 8年前 , 4F
試過用admin執行conda update --all, 還是一樣...
10/24 10:31, 4F

10/09 14:38, , 5F
conda下使用pip務必create env 很容易衝突掛掉
10/09 14:38, 5F
文章代碼(AID): #1Pw5Kf5d (Python)