2024-06-01T10:35:00,154 Created temporary directory: /tmp/pip-build-tracker-snbks__i 2024-06-01T10:35:00,157 Initialized build tracking at /tmp/pip-build-tracker-snbks__i 2024-06-01T10:35:00,158 Created build tracker: /tmp/pip-build-tracker-snbks__i 2024-06-01T10:35:00,158 Entered build tracker: /tmp/pip-build-tracker-snbks__i 2024-06-01T10:35:00,159 Created temporary directory: /tmp/pip-wheel-w8_epk6l 2024-06-01T10:35:00,171 Created temporary directory: /tmp/pip-ephem-wheel-cache-j1z35nh5 2024-06-01T10:35:00,237 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-06-01T10:35:00,252 2 location(s) to search for versions of zhihu-python: 2024-06-01T10:35:00,252 * https://pypi.org/simple/zhihu-python/ 2024-06-01T10:35:00,252 * https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T10:35:00,254 Fetching project page and analyzing links: https://pypi.org/simple/zhihu-python/ 2024-06-01T10:35:00,255 Getting page https://pypi.org/simple/zhihu-python/ 2024-06-01T10:35:00,259 Found index url https://pypi.org/simple/ 2024-06-01T10:35:00,374 Fetched page https://pypi.org/simple/zhihu-python/ as application/vnd.pypi.simple.v1+json 2024-06-01T10:35:00,377 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-01T10:35:00,377 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-01T10:35:00,378 Fetching project page and analyzing links: https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T10:35:00,379 Getting page https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T10:35:00,382 Found index url https://www.piwheels.org/simple/ 2024-06-01T10:35:00,508 Fetched page https://www.piwheels.org/simple/zhihu-python/ as text/html 2024-06-01T10:35:00,510 Skipping link: not a file: https://www.piwheels.org/simple/zhihu-python/ 2024-06-01T10:35:00,511 Skipping link: not a file: https://pypi.org/simple/zhihu-python/ 2024-06-01T10:35:00,548 Given no hashes to check 1 links for project 'zhihu-python': discarding no candidates 2024-06-01T10:35:00,585 Collecting zhihu-python==1.2.5 2024-06-01T10:35:00,589 Created temporary directory: /tmp/pip-unpack-z1uhw93h 2024-06-01T10:35:00,689 Downloading zhihu_python-1.2.5.tar.gz (12 kB) 2024-06-01T10:35:00,763 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-snbks__i' 2024-06-01T10:35:00,767 Running setup.py (path:/tmp/pip-wheel-w8_epk6l/zhihu-python_87834349066c41b1a219c6eb40a66c65/setup.py) egg_info for package zhihu-python 2024-06-01T10:35:00,768 Created temporary directory: /tmp/pip-pip-egg-info-56w0rc64 2024-06-01T10:35:00,769 Preparing metadata (setup.py): started 2024-06-01T10:35:00,771 Running command python setup.py egg_info 2024-06-01T10:35:01,969 Traceback (most recent call last): 2024-06-01T10:35:01,971 File "", line 36, in 2024-06-01T10:35:01,971 File "", line 34, in 2024-06-01T10:35:01,972 File "/tmp/pip-wheel-w8_epk6l/zhihu-python_87834349066c41b1a219c6eb40a66c65/setup.py", line 54, in 2024-06-01T10:35:01,972 long_description=open(r'readme.rst', encoding='utf-8').read(), # 读取readme自述文件 2024-06-01T10:35:01,972 FileNotFoundError: [Errno 2] No such file or directory: 'readme.rst' 2024-06-01T10:35:02,074 ERROR: python setup.py egg_info exited with 1 2024-06-01T10:35:02,125 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2024-06-01T10:35:02,125 exec(compile('"'"''"'"''"'"' 2024-06-01T10:35:02,125 # This is -- a caller that pip uses to run setup.py 2024-06-01T10:35:02,125 # 2024-06-01T10:35:02,125 # - It imports setuptools before invoking setup.py, to enable projects that directly 2024-06-01T10:35:02,125 # import from `distutils.core` to work with newer packaging standards. 2024-06-01T10:35:02,125 # - It provides a clear error message when setuptools is not installed. 2024-06-01T10:35:02,125 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2024-06-01T10:35:02,125 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2024-06-01T10:35:02,125 # manifest_maker: standard file '"'"'-c'"'"' not found". 2024-06-01T10:35:02,125 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2024-06-01T10:35:02,125 import os, sys, tokenize 2024-06-01T10:35:02,125 2024-06-01T10:35:02,125 try: 2024-06-01T10:35:02,125 import setuptools 2024-06-01T10:35:02,125 except ImportError as error: 2024-06-01T10:35:02,125 print( 2024-06-01T10:35:02,125 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2024-06-01T10:35:02,125 "the build environment.", 2024-06-01T10:35:02,125 file=sys.stderr, 2024-06-01T10:35:02,125 ) 2024-06-01T10:35:02,125 sys.exit(1) 2024-06-01T10:35:02,125 2024-06-01T10:35:02,125 __file__ = %r 2024-06-01T10:35:02,125 sys.argv[0] = __file__ 2024-06-01T10:35:02,125 2024-06-01T10:35:02,125 if os.path.exists(__file__): 2024-06-01T10:35:02,125 filename = __file__ 2024-06-01T10:35:02,125 with tokenize.open(__file__) as f: 2024-06-01T10:35:02,125 setup_py_code = f.read() 2024-06-01T10:35:02,125 else: 2024-06-01T10:35:02,125 filename = "" 2024-06-01T10:35:02,125 setup_py_code = "from setuptools import setup; setup()" 2024-06-01T10:35:02,125 2024-06-01T10:35:02,125 exec(compile(setup_py_code, filename, "exec")) 2024-06-01T10:35:02,125 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-w8_epk6l/zhihu-python_87834349066c41b1a219c6eb40a66c65/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-56w0rc64[/] 2024-06-01T10:35:02,126 [bold magenta]cwd[/]: /tmp/pip-wheel-w8_epk6l/zhihu-python_87834349066c41b1a219c6eb40a66c65/ 2024-06-01T10:35:02,127 Preparing metadata (setup.py): finished with status 'error' 2024-06-01T10:35:02,129 ERROR: metadata generation failed 2024-06-01T10:35:02,145 Exception information: 2024-06-01T10:35:02,145 Traceback (most recent call last): 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 68, in generate_metadata 2024-06-01T10:35:02,145 spinner=spinner, 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2024-06-01T10:35:02,145 raise error 2024-06-01T10:35:02,145 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2024-06-01T10:35:02,145 2024-06-01T10:35:02,145 The above exception was the direct cause of the following exception: 2024-06-01T10:35:02,145 2024-06-01T10:35:02,145 Traceback (most recent call last): 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-06-01T10:35:02,145 status = run_func(*args) 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-06-01T10:35:02,145 return func(self, options, args) 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2024-06-01T10:35:02,145 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve 2024-06-01T10:35:02,145 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2024-06-01T10:35:02,145 state = resolution.resolve(requirements, max_rounds=max_rounds) 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2024-06-01T10:35:02,145 self._add_to_criteria(self.state.criteria, r, parent=None) 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2024-06-01T10:35:02,145 if not criterion.candidates: 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2024-06-01T10:35:02,145 return bool(self._sequence) 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2024-06-01T10:35:02,145 return any(self) 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2024-06-01T10:35:02,145 return (c for c in iterator if id(c) not in self._incompatible_ids) 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2024-06-01T10:35:02,145 candidate = func() 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 183, in _make_candidate_from_link 2024-06-01T10:35:02,145 link, template, name, version 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link 2024-06-01T10:35:02,145 version=version, 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 296, in __init__ 2024-06-01T10:35:02,145 version=version, 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2024-06-01T10:35:02,145 self.dist = self._prepare() 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222, in _prepare 2024-06-01T10:35:02,145 dist = self._prepare_distribution() 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301, in _prepare_distribution 2024-06-01T10:35:02,145 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2024-06-01T10:35:02,145 return self._prepare_linked_requirement(req, parallel_builds) 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 645, in _prepare_linked_requirement 2024-06-01T10:35:02,145 self.check_build_deps, 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 72, in _get_prepared_distribution 2024-06-01T10:35:02,145 finder, build_isolation, check_build_deps 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata 2024-06-01T10:35:02,145 self.req.prepare_metadata() 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/req/req_install.py", line 590, in prepare_metadata 2024-06-01T10:35:02,145 details=details, 2024-06-01T10:35:02,145 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2024-06-01T10:35:02,145 raise MetadataGenerationFailed(package_details=details) from error 2024-06-01T10:35:02,145 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2024-06-01T10:35:02,171 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-snbks__i' 2024-06-01T10:35:02,172 Removed build tracker: '/tmp/pip-build-tracker-snbks__i'