0
나는 Anaconda 5.0
, Windows 10
입니다.Tensorflow 설치 후 pip 설치 관련 문제
Tensorflow
을 pip install tensorflow
과 함께 Anaconda Prompt에 설치했습니다.
설치가 완료되었습니다. 예상대로 작동하는 website에서 제안 된 테스트.
하지만 이제 pip install
과 함께 다른 패키지를 설치할 수 없습니다. 예를 들어 나는 실행하면
pip install memory-profiler
내가 얻을 :
Exception:
Traceback (most recent call last):
File "C:\Python\Anaconda3\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "C:\Python\Anaconda3\lib\site-packages\pip\commands\install.py", line 335, in run
wb.build(autobuilding=True)
File "C:\Python\Anaconda3\lib\site-packages\pip\wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "C:\Python\Anaconda3\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "C:\Python\Anaconda3\lib\site-packages\pip\req\req_set.py", line 554, in _prepare_file
require_hashes
File "C:\Python\Anaconda3\lib\site-packages\pip\req\req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "C:\Python\Anaconda3\lib\site-packages\pip\index.py", line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File "C:\Python\Anaconda3\lib\site-packages\pip\index.py", line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "C:\Python\Anaconda3\lib\site-packages\pip\index.py", line 568, in _get_pages
page = self._get_page(location)
File "C:\Python\Anaconda3\lib\site-packages\pip\index.py", line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "C:\Python\Anaconda3\lib\site-packages\pip\index.py", line 811, in get_page
inst = cls(resp.content, resp.url, resp.headers)
File "C:\Python\Anaconda3\lib\site-packages\pip\index.py", line 731, in __init__
namespaceHTMLElements=False,
TypeError: parse() got an unexpected keyword argument 'transport_encoding'
어떻게이 문제를 해결할 수 있습니까?
문제는 실행 한 후 계속 :
conda upgrade pip
또한, 로미오, here가 제공하는 솔루션은 나를 위해 작동하지 않습니다.
conda install --force html5lib
: 실행하여 해결
가능한 중복 [핍 형식 오류가 발생합니다 새 패키지 설치] (https://stackoverflow.com/questions/46499808/pip-throws-typeerror-parse-got-an-unexpected-keyword-argument-transport-ko) – Goyo