2024-06-01T11:38:42,235 Created temporary directory: /tmp/pip-build-tracker-knpbc1n7 2024-06-01T11:38:42,237 Initialized build tracking at /tmp/pip-build-tracker-knpbc1n7 2024-06-01T11:38:42,237 Created build tracker: /tmp/pip-build-tracker-knpbc1n7 2024-06-01T11:38:42,237 Entered build tracker: /tmp/pip-build-tracker-knpbc1n7 2024-06-01T11:38:42,238 Created temporary directory: /tmp/pip-wheel-ysj781u0 2024-06-01T11:38:42,242 Created temporary directory: /tmp/pip-ephem-wheel-cache-qsl6osa4 2024-06-01T11:38:42,266 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-06-01T11:38:42,270 2 location(s) to search for versions of zhihu-python: 2024-06-01T11:38:42,270 * https://pypi.org/simple/zhihu-python/ 2024-06-01T11:38:42,270 * https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T11:38:42,270 Fetching project page and analyzing links: https://pypi.org/simple/zhihu-python/ 2024-06-01T11:38:42,271 Getting page https://pypi.org/simple/zhihu-python/ 2024-06-01T11:38:42,272 Found index url https://pypi.org/simple/ 2024-06-01T11:38:42,322 Fetched page https://pypi.org/simple/zhihu-python/ as application/vnd.pypi.simple.v1+json 2024-06-01T11:38:42,324 Skipping link: No binaries permitted for zhihu-python: https://files.pythonhosted.org/packages/27/f6/9e7245204c990207e7101dd70aab4b6b62ced08979dac262ca9adfc9acd5/zhihu_python-1.2.5-py3-none-any.whl (from https://pypi.org/simple/zhihu-python/) 2024-06-01T11:38:42,324 Found link https://files.pythonhosted.org/packages/2e/a2/74994d13339932151475427bb6f435d3274e7d03e4e4b9605111c248e191/zhihu_python-1.2.5.tar.gz (from https://pypi.org/simple/zhihu-python/), version: 1.2.5 2024-06-01T11:38:42,324 Fetching project page and analyzing links: https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T11:38:42,325 Getting page https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T11:38:42,326 Found index url https://www.piwheels.org/simple/ 2024-06-01T11:38:42,416 Fetched page https://www.piwheels.org/simple/zhihu-python/ as text/html 2024-06-01T11:38:42,417 Skipping link: not a file: https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T11:38:42,417 Skipping link: not a file: https://pypi.org/simple/zhihu-python/ 2024-06-01T11:38:42,433 Given no hashes to check 1 links for project 'zhihu-python': discarding no candidates 2024-06-01T11:38:42,448 Collecting zhihu-python==1.2.5 2024-06-01T11:38:42,450 Created temporary directory: /tmp/pip-unpack-9dh3rw6a 2024-06-01T11:38:42,493 Downloading zhihu_python-1.2.5.tar.gz (12 kB) 2024-06-01T11:38:42,525 Added zhihu-python==1.2.5 from https://files.pythonhosted.org/packages/2e/a2/74994d13339932151475427bb6f435d3274e7d03e4e4b9605111c248e191/zhihu_python-1.2.5.tar.gz to build tracker '/tmp/pip-build-tracker-knpbc1n7' 2024-06-01T11:38:42,526 Running setup.py (path:/tmp/pip-wheel-ysj781u0/zhihu-python_4c8a4613d4134c43906777e967afa768/setup.py) egg_info for package zhihu-python 2024-06-01T11:38:42,527 Created temporary directory: /tmp/pip-pip-egg-info-nol1jwer 2024-06-01T11:38:42,527 Preparing metadata (setup.py): started 2024-06-01T11:38:42,528 Running command python setup.py egg_info 2024-06-01T11:38:42,993 Traceback (most recent call last): 2024-06-01T11:38:42,994 File "", line 2, in 2024-06-01T11:38:42,994 File "", line 34, in 2024-06-01T11:38:42,994 File "/tmp/pip-wheel-ysj781u0/zhihu-python_4c8a4613d4134c43906777e967afa768/setup.py", line 54, in 2024-06-01T11:38:42,994 long_description=open(r'readme.rst', encoding='utf-8').read(), # 读取readme自述文件 2024-06-01T11:38:42,995 FileNotFoundError: [Errno 2] No such file or directory: 'readme.rst' 2024-06-01T11:38:43,044 ERROR: python setup.py egg_info exited with 1 2024-06-01T11:38:43,061 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2024-06-01T11:38:43,061 exec(compile('"'"''"'"''"'"' 2024-06-01T11:38:43,061 # This is -- a caller that pip uses to run setup.py 2024-06-01T11:38:43,061 # 2024-06-01T11:38:43,061 # - It imports setuptools before invoking setup.py, to enable projects that directly 2024-06-01T11:38:43,061 # import from `distutils.core` to work with newer packaging standards. 2024-06-01T11:38:43,061 # - It provides a clear error message when setuptools is not installed. 2024-06-01T11:38:43,061 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2024-06-01T11:38:43,061 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2024-06-01T11:38:43,061 # manifest_maker: standard file '"'"'-c'"'"' not found". 2024-06-01T11:38:43,061 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2024-06-01T11:38:43,061 import os, sys, tokenize 2024-06-01T11:38:43,061 2024-06-01T11:38:43,061 try: 2024-06-01T11:38:43,061 import setuptools 2024-06-01T11:38:43,061 except ImportError as error: 2024-06-01T11:38:43,061 print( 2024-06-01T11:38:43,061 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2024-06-01T11:38:43,061 "the build environment.", 2024-06-01T11:38:43,061 file=sys.stderr, 2024-06-01T11:38:43,061 ) 2024-06-01T11:38:43,061 sys.exit(1) 2024-06-01T11:38:43,061 2024-06-01T11:38:43,061 __file__ = %r 2024-06-01T11:38:43,061 sys.argv[0] = __file__ 2024-06-01T11:38:43,061 2024-06-01T11:38:43,061 if os.path.exists(__file__): 2024-06-01T11:38:43,061 filename = __file__ 2024-06-01T11:38:43,061 with tokenize.open(__file__) as f: 2024-06-01T11:38:43,061 setup_py_code = f.read() 2024-06-01T11:38:43,061 else: 2024-06-01T11:38:43,061 filename = "" 2024-06-01T11:38:43,061 setup_py_code = "from setuptools import setup; setup()" 2024-06-01T11:38:43,061 2024-06-01T11:38:43,061 exec(compile(setup_py_code, filename, "exec")) 2024-06-01T11:38:43,061 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-ysj781u0/zhihu-python_4c8a4613d4134c43906777e967afa768/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-nol1jwer[/] 2024-06-01T11:38:43,061 [bold magenta]cwd[/]: /tmp/pip-wheel-ysj781u0/zhihu-python_4c8a4613d4134c43906777e967afa768/ 2024-06-01T11:38:43,062 Preparing metadata (setup.py): finished with status 'error' 2024-06-01T11:38:43,063 ERROR: metadata generation failed 2024-06-01T11:38:43,069 Exception information: 2024-06-01T11:38:43,069 Traceback (most recent call last): 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2024-06-01T11:38:43,069 call_subprocess( 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2024-06-01T11:38:43,069 raise error 2024-06-01T11:38:43,069 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2024-06-01T11:38:43,069 2024-06-01T11:38:43,069 The above exception was the direct cause of the following exception: 2024-06-01T11:38:43,069 2024-06-01T11:38:43,069 Traceback (most recent call last): 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-06-01T11:38:43,069 status = run_func(*args) 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-06-01T11:38:43,069 return func(self, options, args) 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2024-06-01T11:38:43,069 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve 2024-06-01T11:38:43,069 result = self._result = resolver.resolve( 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2024-06-01T11:38:43,069 state = resolution.resolve(requirements, max_rounds=max_rounds) 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2024-06-01T11:38:43,069 self._add_to_criteria(self.state.criteria, r, parent=None) 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2024-06-01T11:38:43,069 if not criterion.candidates: 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2024-06-01T11:38:43,069 return bool(self._sequence) 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2024-06-01T11:38:43,069 return any(self) 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2024-06-01T11:38:43,069 return (c for c in iterator if id(c) not in self._incompatible_ids) 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2024-06-01T11:38:43,069 candidate = func() 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 182, in _make_candidate_from_link 2024-06-01T11:38:43,069 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 228, in _make_base_candidate_from_link 2024-06-01T11:38:43,069 self._link_candidate_cache[link] = LinkCandidate( 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 290, in __init__ 2024-06-01T11:38:43,069 super().__init__( 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2024-06-01T11:38:43,069 self.dist = self._prepare() 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222, in _prepare 2024-06-01T11:38:43,069 dist = self._prepare_distribution() 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301, in _prepare_distribution 2024-06-01T11:38:43,069 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2024-06-01T11:38:43,069 return self._prepare_linked_requirement(req, parallel_builds) 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 640, in _prepare_linked_requirement 2024-06-01T11:38:43,069 dist = _get_prepared_distribution( 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2024-06-01T11:38:43,069 abstract_dist.prepare_distribution_metadata( 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata 2024-06-01T11:38:43,069 self.req.prepare_metadata() 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/req/req_install.py", line 585, in prepare_metadata 2024-06-01T11:38:43,069 self.metadata_directory = generate_metadata_legacy( 2024-06-01T11:38:43,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2024-06-01T11:38:43,069 raise MetadataGenerationFailed(package_details=details) from error 2024-06-01T11:38:43,069 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2024-06-01T11:38:43,079 Removed zhihu-python==1.2.5 from https://files.pythonhosted.org/packages/2e/a2/74994d13339932151475427bb6f435d3274e7d03e4e4b9605111c248e191/zhihu_python-1.2.5.tar.gz from build tracker '/tmp/pip-build-tracker-knpbc1n7' 2024-06-01T11:38:43,079 Removed build tracker: '/tmp/pip-build-tracker-knpbc1n7'