1 |
On 12/17/20 11:55 PM, bobwxc wrote: |
2 |
> 在 2020/12/18 上午2:32, Valmor F. de Almeida 写道: |
3 |
>> |
4 |
>> Hello, |
5 |
>> Has anyone seen this search problem with pip for any package? |
6 |
>> |
7 |
>> -> pip search twine |
8 |
>> |
9 |
>> ERROR: Exception: |
10 |
>> Traceback (most recent call last): |
11 |
>> File |
12 |
>> "/usr/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", |
13 |
>> line 228, in _main |
14 |
>> status = self.run(options, args) |
15 |
>> File |
16 |
>> "/usr/lib/python3.8/site-packages/pip/_internal/commands/search.py", |
17 |
>> line 60, in run |
18 |
>> pypi_hits = self.search(query, options) |
19 |
>> File |
20 |
>> "/usr/lib/python3.8/site-packages/pip/_internal/commands/search.py", |
21 |
>> line 80, in search |
22 |
>> hits = pypi.search({'name': query, 'summary': query}, 'or') |
23 |
>> File "/usr/lib/python3.8/xmlrpc/client.py", line 1109, in __call__ |
24 |
>> return self.__send(self.__name, args) |
25 |
>> File "/usr/lib/python3.8/xmlrpc/client.py", line 1450, in __request |
26 |
>> response = self.__transport.request( |
27 |
>> File |
28 |
>> "/usr/lib/python3.8/site-packages/pip/_internal/network/xmlrpc.py", |
29 |
>> line 45, in request |
30 |
>> return self.parse_response(response.raw) |
31 |
>> File "/usr/lib/python3.8/xmlrpc/client.py", line 1341, in |
32 |
>> parse_response |
33 |
>> return u.close() |
34 |
>> File "/usr/lib/python3.8/xmlrpc/client.py", line 655, in close |
35 |
>> raise Fault(**self._stack[0]) |
36 |
>> xmlrpc.client.Fault: <Fault -32500: 'RuntimeError: This API has been |
37 |
>> temporarily disabled due to unmanageable load and will be deprecated |
38 |
>> in the near future. Please use the Simple or JSON API instead.'> |
39 |
>> |
40 |
>> Thanks, |
41 |
>> -- |
42 |
>> Valmor |
43 |
> |
44 |
> Just try it, and meet the same problem with python3.7 pip-20.2.4. |
45 |
> Then update to 20.3.3, still the same problem. |
46 |
> |
47 |
> There are issues on github, |
48 |
> |
49 |
> https://github.com/pypa/pip/issues/9292 |
50 |
> https://github.com/pypa/pip/issues/9312 |
51 |
> |
52 |
> someone said, |
53 |
> *"* |
54 |
> |
55 |
> Seehttps://status.python.org/incidents/grk0k7sz6zkp |
56 |
> <https://status.python.org/incidents/grk0k7sz6zkp>for context. |
57 |
> |
58 |
> PyPI has had significant uptick in automated hits to the XMLRPC API, |
59 |
> which has resulted in needing to take that offline, as it hampers the |
60 |
> rest of the application's ability to function. |
61 |
> |
62 |
> " |
63 |
> |
64 |
|
65 |
Thanks. |
66 |
-- |
67 |
Valmor |