Home > other >  Python PIP failure
Python PIP failure

Time:11-29

Python is a small white a beg god give directions!

CodePudding user response:

May be the reason for the path of Chinese, you try to change their name to English!!!!!!!!!!

CodePudding user response:

With the version of the right? Version is usually one-to-one

CodePudding user response:

Coding problem, the problem is shown in UTF8 unable to decode,

CodePudding user response:

Installation jieba library also appeared the following questions, library is prone to problems and I don't know what reason be


Collecting jieba
Downloading jieba - 0.42.1. Tar. Gz (19.2 MB)
| | 10 kB 740 bytes/s eta 7:12:13 ERROR: Exception:
Traceback (the most recent call last) :
File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _vendor \ urllib3 \ response py", line 425, in _error_catcher
Yield
File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _vendor \ urllib3 \ response py", line 507, in the read
Data=https://bbs.csdn.net/topics/self._fp.read (amt) if not fp_closed else ""
bFile "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _vendor \ cachecontrol \ filewrapper py", line 62, in the read
Data=https://bbs.csdn.net/topics/self.__fp.read (amt)
The File "c: \ program files \ \ client python36 \ lib \ HTTP py", line 449, in the read
N=self. Readinto (b)
The File "c: \ program files \ \ client python36 \ lib \ HTTP py", line 493, in readinto
N=self. Fp. Readinto (b)
The File "c: \ program files \ python36 \ lib \ socket py", line 586, in readinto
Return the self. _sock. Recv_into (b)
The File "c: \ program files \ python36 \ lib \ SSL py", line 1009, in recv_into
Return the self. Read (nbytes, buffer)
The File "c: \ program files \ python36 \ lib \ SSL py", line 871, in the read
Return the self. _sslobj. Read (len, buffer)
The File "c: \ program files \ python36 \ lib \ SSL py", line 631, in the read
V=self. _sslobj. Read (len, buffer)
Socket. The timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (the most recent call last) :
The File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal, cli \ base_command py", line 188, in _main
Status=self. The run (options, args)
File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal, cli \ req_command py", line 185, wrapper in
Return func (self, options, args)
File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal \ commands, the py", line 333, in the run
Reqs, check_supported_wheels=not options. Target_dir
The File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal, resolution \ legacy \ resolver py", line 179, resolve in
Discovered_reqs. The extend (self. _resolve_one (requirement_set, the req))
The File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal, resolution \ legacy \ resolver py", line 362, in _resolve_one
Abstract_dist=self. _get_abstract_dist_for (req_to_install)
The File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal, resolution \ legacy \ resolver py", line 314, in _get_abstract_dist_for
Abstract_dist=self. The preparer. Prepare_linked_requirement (the req)
The File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal \ operations \ prepare py", line 469, in prepare_linked_requirement
Hashes=hashes,
The File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal \ operations \ prepare py", line 259, in unpack_url
Hashes=hashes,
The File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal \ operations \ prepare py", line 130, in get_http_url
The link, the downloader, temp_dir path, hashes
The File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal \ operations \ prepare py", line 281, in _download_http_url
For the chunk in the download. Chunks:
The File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal, cli \ progress_bars py", line 166, in iter
For x in it:
File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _internal \ network \ utils py", 39, the line in response_chunks
Decode_content=False,
File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _vendor \ urllib3 \ response py", line 564, stream in
Data=https://bbs.csdn.net/topics/self.read (amt=amt, decode_content=decode_content)
File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _vendor \ urllib3 \ response py", line 529, in the read
Raise IncompleteRead (self _fp_bytes_read, self length_remaining)
The File "c: \ program files \ python36 \ lib \ contextlib py", line 99, in __exit__
Self. Gen. Throw (type, value, traceback)
File "C: \ Users \ in zhenning \ AppData \ \ Roaming \ Python Python36 \ site - packages, PIP, _vendor \ urllib3 \ response py", line 430, in _error_catcher
Raise ReadTimeoutError (self _pool, None, "Read timed out.")
PIP. _vendor. Urllib3. Exceptions. ReadTimeoutError: HTTPSConnectionPool (host='files.pythonhosted.org', the port=443) : Read timed out.nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related