Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报错 #58

Open
Tearslovefu opened this issue Aug 4, 2020 · 1 comment
Open

报错 #58

Tearslovefu opened this issue Aug 4, 2020 · 1 comment

Comments

@Tearslovefu
Copy link

Downloading pip-20.2.1-py2.py3-none-any.whl (1.5 MB)
|▏ | 10 kB 4.6 kB/s eta 0:05:22ERROR: Exception:
Traceback (most recent call last):
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/cli/base_command.py", line 216, in _main
status = self.run(options, args)
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/cli/req_command.py", line 182, in wrapper
return func(self, options, args)
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/commands/install.py", line 325, in run
reqs, check_supported_wheels=not options.target_dir
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/resolution/legacy/resolver.py", line 388, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/resolution/legacy/resolver.py", line 340, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/operations/prepare.py", line 469, in prepare_linked_requirement
hashes=self._get_linked_req_hashes(req)
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/operations/prepare.py", line 259, in unpack_url
hashes=hashes,
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/operations/prepare.py", line 130, in get_http_url
link, downloader, temp_dir.path, hashes
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/operations/prepare.py", line 282, in _download_http_url
for chunk in download.chunks:
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/cli/progress_bars.py", line 168, in iter
for x in it:
File "/tmp/tmp1VM5Es/pip.zip/pip/_internal/network/utils.py", line 88, in response_chunks
decode_content=False,
File "/tmp/tmp1VM5Es/pip.zip/pip/_vendor/urllib3/response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/tmp/tmp1VM5Es/pip.zip/pip/_vendor/urllib3/response.py", line 541, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/lib64/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/tmp/tmp1VM5Es/pip.zip/pip/_vendor/urllib3/response.py", line 451, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
/usr/bin/python: No module named pip
################pip is installed############
############正在同步最新版本opencanary_web,并且安装第三方依赖包##########
Cloning into '/usr/local/src/opencanary_web'...
remote: Enumerating objects: 144, done.
remote: Counting objects: 100% (144/144), done.
remote: Compressing objects: 100% (110/110), done.
Receiving objects: 13% (163/1247), 44.01 KiB | 1024 bytes/s

@p1r06u3
Copy link
Owner

p1r06u3 commented Aug 5, 2020

/usr/bin/python: No module named pip
机器上还没有pip,可能是因为网速的原因,建议通过手工安装方式进行安装。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants