2024-06-01T09:30:22,535 Created temporary directory: /tmp/pip-build-tracker-b6ty3oft 2024-06-01T09:30:22,536 Initialized build tracking at /tmp/pip-build-tracker-b6ty3oft 2024-06-01T09:30:22,537 Created build tracker: /tmp/pip-build-tracker-b6ty3oft 2024-06-01T09:30:22,537 Entered build tracker: /tmp/pip-build-tracker-b6ty3oft 2024-06-01T09:30:22,538 Created temporary directory: /tmp/pip-wheel-mjwgj45i 2024-06-01T09:30:22,541 Created temporary directory: /tmp/pip-ephem-wheel-cache-cax_8axt 2024-06-01T09:30:22,565 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-06-01T09:30:22,568 2 location(s) to search for versions of zhihu-python: 2024-06-01T09:30:22,568 * https://pypi.org/simple/zhihu-python/ 2024-06-01T09:30:22,568 * https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T09:30:22,569 Fetching project page and analyzing links: https://pypi.org/simple/zhihu-python/ 2024-06-01T09:30:22,570 Getting page https://pypi.org/simple/zhihu-python/ 2024-06-01T09:30:22,571 Found index url https://pypi.org/simple/ 2024-06-01T09:30:22,785 Fetched page https://pypi.org/simple/zhihu-python/ as application/vnd.pypi.simple.v1+json 2024-06-01T09:30:22,787 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-01T09:30:22,787 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-01T09:30:22,788 Fetching project page and analyzing links: https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T09:30:22,789 Getting page https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T09:30:22,790 Found index url https://www.piwheels.org/simple/ 2024-06-01T09:30:22,950 Fetched page https://www.piwheels.org/simple/zhihu-python/ as text/html 2024-06-01T09:30:22,951 Skipping link: not a file: https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T09:30:22,951 Skipping link: not a file: https://pypi.org/simple/zhihu-python/ 2024-06-01T09:30:22,970 Given no hashes to check 1 links for project 'zhihu-python': discarding no candidates 2024-06-01T09:30:22,988 Collecting zhihu-python==1.2.5 2024-06-01T09:30:22,990 Created temporary directory: /tmp/pip-unpack-1_ro2iwo 2024-06-01T09:30:23,201 Downloading zhihu_python-1.2.5.tar.gz (12 kB) 2024-06-01T09:30:23,230 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-b6ty3oft' 2024-06-01T09:30:23,232 Running setup.py (path:/tmp/pip-wheel-mjwgj45i/zhihu-python_8589ba4c69ce4414856ff1a29913fe23/setup.py) egg_info for package zhihu-python 2024-06-01T09:30:23,233 Created temporary directory: /tmp/pip-pip-egg-info-174p7_kn 2024-06-01T09:30:23,234 Preparing metadata (setup.py): started 2024-06-01T09:30:23,235 Running command python setup.py egg_info 2024-06-01T09:30:23,714 Traceback (most recent call last): 2024-06-01T09:30:23,715 File "", line 2, in 2024-06-01T09:30:23,716 File "", line 34, in 2024-06-01T09:30:23,716 File "/tmp/pip-wheel-mjwgj45i/zhihu-python_8589ba4c69ce4414856ff1a29913fe23/setup.py", line 54, in 2024-06-01T09:30:23,717 long_description=open(r'readme.rst', encoding='utf-8').read(), # 读取readme自述文件 2024-06-01T09:30:23,718 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,719 FileNotFoundError: [Errno 2] No such file or directory: 'readme.rst' 2024-06-01T09:30:23,794 ERROR: python setup.py egg_info exited with 1 2024-06-01T09:30:23,809 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2024-06-01T09:30:23,809 exec(compile('"'"''"'"''"'"' 2024-06-01T09:30:23,809 # This is -- a caller that pip uses to run setup.py 2024-06-01T09:30:23,809 # 2024-06-01T09:30:23,809 # - It imports setuptools before invoking setup.py, to enable projects that directly 2024-06-01T09:30:23,809 # import from `distutils.core` to work with newer packaging standards. 2024-06-01T09:30:23,809 # - It provides a clear error message when setuptools is not installed. 2024-06-01T09:30:23,809 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2024-06-01T09:30:23,809 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2024-06-01T09:30:23,809 # manifest_maker: standard file '"'"'-c'"'"' not found". 2024-06-01T09:30:23,809 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2024-06-01T09:30:23,809 import os, sys, tokenize 2024-06-01T09:30:23,809 2024-06-01T09:30:23,809 try: 2024-06-01T09:30:23,809 import setuptools 2024-06-01T09:30:23,809 except ImportError as error: 2024-06-01T09:30:23,809 print( 2024-06-01T09:30:23,809 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2024-06-01T09:30:23,809 "the build environment.", 2024-06-01T09:30:23,809 file=sys.stderr, 2024-06-01T09:30:23,809 ) 2024-06-01T09:30:23,809 sys.exit(1) 2024-06-01T09:30:23,809 2024-06-01T09:30:23,809 __file__ = %r 2024-06-01T09:30:23,809 sys.argv[0] = __file__ 2024-06-01T09:30:23,809 2024-06-01T09:30:23,809 if os.path.exists(__file__): 2024-06-01T09:30:23,809 filename = __file__ 2024-06-01T09:30:23,809 with tokenize.open(__file__) as f: 2024-06-01T09:30:23,809 setup_py_code = f.read() 2024-06-01T09:30:23,809 else: 2024-06-01T09:30:23,809 filename = "" 2024-06-01T09:30:23,809 setup_py_code = "from setuptools import setup; setup()" 2024-06-01T09:30:23,809 2024-06-01T09:30:23,809 exec(compile(setup_py_code, filename, "exec")) 2024-06-01T09:30:23,809 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-mjwgj45i/zhihu-python_8589ba4c69ce4414856ff1a29913fe23/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-174p7_kn[/] 2024-06-01T09:30:23,810 [bold magenta]cwd[/]: /tmp/pip-wheel-mjwgj45i/zhihu-python_8589ba4c69ce4414856ff1a29913fe23/ 2024-06-01T09:30:23,811 Preparing metadata (setup.py): finished with status 'error' 2024-06-01T09:30:23,812 ERROR: metadata generation failed 2024-06-01T09:30:23,818 Exception information: 2024-06-01T09:30:23,818 Traceback (most recent call last): 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2024-06-01T09:30:23,818 call_subprocess( 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2024-06-01T09:30:23,818 raise error 2024-06-01T09:30:23,818 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2024-06-01T09:30:23,818 2024-06-01T09:30:23,818 The above exception was the direct cause of the following exception: 2024-06-01T09:30:23,818 2024-06-01T09:30:23,818 Traceback (most recent call last): 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-06-01T09:30:23,818 status = run_func(*args) 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-06-01T09:30:23,818 return func(self, options, args) 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2024-06-01T09:30:23,818 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve 2024-06-01T09:30:23,818 result = self._result = resolver.resolve( 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2024-06-01T09:30:23,818 state = resolution.resolve(requirements, max_rounds=max_rounds) 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2024-06-01T09:30:23,818 self._add_to_criteria(self.state.criteria, r, parent=None) 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2024-06-01T09:30:23,818 if not criterion.candidates: 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2024-06-01T09:30:23,818 return bool(self._sequence) 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2024-06-01T09:30:23,818 return any(self) 2024-06-01T09:30:23,818 ^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2024-06-01T09:30:23,818 return (c for c in iterator if id(c) not in self._incompatible_ids) 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2024-06-01T09:30:23,818 candidate = func() 2024-06-01T09:30:23,818 ^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 182, in _make_candidate_from_link 2024-06-01T09:30:23,818 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 228, in _make_base_candidate_from_link 2024-06-01T09:30:23,818 self._link_candidate_cache[link] = LinkCandidate( 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 290, in __init__ 2024-06-01T09:30:23,818 super().__init__( 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2024-06-01T09:30:23,818 self.dist = self._prepare() 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222, in _prepare 2024-06-01T09:30:23,818 dist = self._prepare_distribution() 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301, in _prepare_distribution 2024-06-01T09:30:23,818 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2024-06-01T09:30:23,818 return self._prepare_linked_requirement(req, parallel_builds) 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 640, in _prepare_linked_requirement 2024-06-01T09:30:23,818 dist = _get_prepared_distribution( 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2024-06-01T09:30:23,818 abstract_dist.prepare_distribution_metadata( 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata 2024-06-01T09:30:23,818 self.req.prepare_metadata() 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 585, in prepare_metadata 2024-06-01T09:30:23,818 self.metadata_directory = generate_metadata_legacy( 2024-06-01T09:30:23,818 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-01T09:30:23,818 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2024-06-01T09:30:23,818 raise MetadataGenerationFailed(package_details=details) from error 2024-06-01T09:30:23,818 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2024-06-01T09:30:23,831 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-b6ty3oft' 2024-06-01T09:30:23,832 Removed build tracker: '/tmp/pip-build-tracker-b6ty3oft'