2023-09-13T10:11:21,675 Created temporary directory: /tmp/pip-build-tracker-hp9oe5m9 2023-09-13T10:11:21,676 Initialized build tracking at /tmp/pip-build-tracker-hp9oe5m9 2023-09-13T10:11:21,677 Created build tracker: /tmp/pip-build-tracker-hp9oe5m9 2023-09-13T10:11:21,677 Entered build tracker: /tmp/pip-build-tracker-hp9oe5m9 2023-09-13T10:11:21,678 Created temporary directory: /tmp/pip-wheel-5zdws40w 2023-09-13T10:11:21,682 Created temporary directory: /tmp/pip-ephem-wheel-cache-jnpfgdh3 2023-09-13T10:11:21,704 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-13T10:11:21,708 2 location(s) to search for versions of shopex-dingding-note-2-x: 2023-09-13T10:11:21,708 * https://pypi.org/simple/shopex-dingding-note-2-x/ 2023-09-13T10:11:21,708 * https://www.piwheels.org/simple/shopex-dingding-note-2-x/ 2023-09-13T10:11:21,709 Fetching project page and analyzing links: https://pypi.org/simple/shopex-dingding-note-2-x/ 2023-09-13T10:11:21,709 Getting page https://pypi.org/simple/shopex-dingding-note-2-x/ 2023-09-13T10:11:21,711 Found index url https://pypi.org/simple/ 2023-09-13T10:11:21,854 Fetched page https://pypi.org/simple/shopex-dingding-note-2-x/ as application/vnd.pypi.simple.v1+json 2023-09-13T10:11:21,856 Found link https://files.pythonhosted.org/packages/ca/db/fd4b99e56f36eb73152c3d05c58c35ebe6ec07d8e1be157c3d3b82036ae3/shopex_dingding_note_2.x-1.0.tar.gz (from https://pypi.org/simple/shopex-dingding-note-2-x/), version: 1.0 2023-09-13T10:11:21,857 Found link https://files.pythonhosted.org/packages/a0/ea/0d0c74e38d4cfcc78d52fd22d35f5121acd7013c1c3aba8684b31ef42e64/shopex_dingding_note_2.x-1.1.tar.gz (from https://pypi.org/simple/shopex-dingding-note-2-x/), version: 1.1 2023-09-13T10:11:21,857 Found link https://files.pythonhosted.org/packages/03/de/8a28bf549caca56e089944d5034eb37d21a8e2facb4c1572b8af02998e40/shopex_dingding_note_2.x-1.2.tar.gz (from https://pypi.org/simple/shopex-dingding-note-2-x/), version: 1.2 2023-09-13T10:11:21,858 Found link https://files.pythonhosted.org/packages/42/48/f1f4bcc8bdf4196758f9293c74efdce3d46906d0aa0efd3d5a3a35f18566/shopex_dingding_note_2.x-1.3.tar.gz (from https://pypi.org/simple/shopex-dingding-note-2-x/), version: 1.3 2023-09-13T10:11:21,858 Found link https://files.pythonhosted.org/packages/86/22/c6f87716a11e4812632f23a1dae55037a12b4fdc5417cf3ecabac6ed8e14/shopex_dingding_note_2.x-1.4.tar.gz (from https://pypi.org/simple/shopex-dingding-note-2-x/), version: 1.4 2023-09-13T10:11:21,859 Fetching project page and analyzing links: https://www.piwheels.org/simple/shopex-dingding-note-2-x/ 2023-09-13T10:11:21,860 Getting page https://www.piwheels.org/simple/shopex-dingding-note-2-x/ 2023-09-13T10:11:21,862 Found index url https://www.piwheels.org/simple/ 2023-09-13T10:11:22,337 Fetched page https://www.piwheels.org/simple/shopex-dingding-note-2-x/ as text/html 2023-09-13T10:11:22,339 Skipping link: not a file: https://www.piwheels.org/simple/shopex-dingding-note-2-x/ 2023-09-13T10:11:22,340 Skipping link: not a file: https://pypi.org/simple/shopex-dingding-note-2-x/ 2023-09-13T10:11:22,383 Given no hashes to check 1 links for project 'shopex-dingding-note-2-x': discarding no candidates 2023-09-13T10:11:22,401 Collecting shopex-dingding-note-2-x==1.2 2023-09-13T10:11:22,403 Created temporary directory: /tmp/pip-unpack-ph_ego61 2023-09-13T10:11:23,190 Downloading shopex_dingding_note_2.x-1.2.tar.gz (4.0 kB) 2023-09-13T10:11:23,251 Added shopex-dingding-note-2-x==1.2 from https://files.pythonhosted.org/packages/03/de/8a28bf549caca56e089944d5034eb37d21a8e2facb4c1572b8af02998e40/shopex_dingding_note_2.x-1.2.tar.gz to build tracker '/tmp/pip-build-tracker-hp9oe5m9' 2023-09-13T10:11:23,254 Running setup.py (path:/tmp/pip-wheel-5zdws40w/shopex-dingding-note-2-x_0954cadb2772406e858cd9ff036c9e8f/setup.py) egg_info for package shopex-dingding-note-2-x 2023-09-13T10:11:23,256 Created temporary directory: /tmp/pip-pip-egg-info-wnv5q_pq 2023-09-13T10:11:23,257 Preparing metadata (setup.py): started 2023-09-13T10:11:23,260 Running command python setup.py egg_info 2023-09-13T10:11:23,711 Traceback (most recent call last): 2023-09-13T10:11:23,711 File "", line 2, in 2023-09-13T10:11:23,712 File "", line 34, in 2023-09-13T10:11:23,713 File "/tmp/pip-wheel-5zdws40w/shopex-dingding-note-2-x_0954cadb2772406e858cd9ff036c9e8f/setup.py", line 4, in 2023-09-13T10:11:23,713 reload(sys) # Python2.5 初始化后会删除 sys.setdefaultencoding 这个方法,我们需要重新载入 2023-09-13T10:11:23,714 ^^^^^^ 2023-09-13T10:11:23,715 NameError: name 'reload' is not defined 2023-09-13T10:11:23,781 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-09-13T10:11:23,794 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-09-13T10:11:23,794 exec(compile('"'"''"'"''"'"' 2023-09-13T10:11:23,794 # This is -- a caller that pip uses to run setup.py 2023-09-13T10:11:23,794 # 2023-09-13T10:11:23,794 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-13T10:11:23,794 # import from `distutils.core` to work with newer packaging standards. 2023-09-13T10:11:23,794 # - It provides a clear error message when setuptools is not installed. 2023-09-13T10:11:23,794 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-13T10:11:23,794 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-13T10:11:23,794 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-13T10:11:23,794 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-13T10:11:23,794 import os, sys, tokenize 2023-09-13T10:11:23,794 2023-09-13T10:11:23,794 try: 2023-09-13T10:11:23,794 import setuptools 2023-09-13T10:11:23,794 except ImportError as error: 2023-09-13T10:11:23,794 print( 2023-09-13T10:11:23,794 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-13T10:11:23,794 "the build environment.", 2023-09-13T10:11:23,794 file=sys.stderr, 2023-09-13T10:11:23,794 ) 2023-09-13T10:11:23,794 sys.exit(1) 2023-09-13T10:11:23,794 2023-09-13T10:11:23,794 __file__ = %r 2023-09-13T10:11:23,794 sys.argv[0] = __file__ 2023-09-13T10:11:23,794 2023-09-13T10:11:23,794 if os.path.exists(__file__): 2023-09-13T10:11:23,794 filename = __file__ 2023-09-13T10:11:23,794 with tokenize.open(__file__) as f: 2023-09-13T10:11:23,794 setup_py_code = f.read() 2023-09-13T10:11:23,794 else: 2023-09-13T10:11:23,794 filename = "" 2023-09-13T10:11:23,794 setup_py_code = "from setuptools import setup; setup()" 2023-09-13T10:11:23,794 2023-09-13T10:11:23,794 exec(compile(setup_py_code, filename, "exec")) 2023-09-13T10:11:23,794 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-5zdws40w/shopex-dingding-note-2-x_0954cadb2772406e858cd9ff036c9e8f/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-wnv5q_pq[/] 2023-09-13T10:11:23,795 [bold magenta]cwd[/]: /tmp/pip-wheel-5zdws40w/shopex-dingding-note-2-x_0954cadb2772406e858cd9ff036c9e8f/ 2023-09-13T10:11:23,795 Preparing metadata (setup.py): finished with status 'error' 2023-09-13T10:11:23,797 ERROR: [present-rich] metadata generation failed 2023-09-13T10:11:23,802 Exception information: 2023-09-13T10:11:23,802 Traceback (most recent call last): 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-09-13T10:11:23,802 call_subprocess( 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-09-13T10:11:23,802 raise error 2023-09-13T10:11:23,802 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-09-13T10:11:23,802 2023-09-13T10:11:23,802 The above exception was the direct cause of the following exception: 2023-09-13T10:11:23,802 2023-09-13T10:11:23,802 Traceback (most recent call last): 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-13T10:11:23,802 status = run_func(*args) 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-13T10:11:23,802 return func(self, options, args) 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-09-13T10:11:23,802 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-09-13T10:11:23,802 result = self._result = resolver.resolve( 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-09-13T10:11:23,802 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-09-13T10:11:23,802 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-09-13T10:11:23,802 if not criterion.candidates: 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-09-13T10:11:23,802 return bool(self._sequence) 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-09-13T10:11:23,802 return any(self) 2023-09-13T10:11:23,802 ^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-09-13T10:11:23,802 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-09-13T10:11:23,802 candidate = func() 2023-09-13T10:11:23,802 ^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-09-13T10:11:23,802 self._link_candidate_cache[link] = LinkCandidate( 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-09-13T10:11:23,802 super().__init__( 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-09-13T10:11:23,802 self.dist = self._prepare() 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-09-13T10:11:23,802 dist = self._prepare_distribution() 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-09-13T10:11:23,802 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement 2023-09-13T10:11:23,802 return self._prepare_linked_requirement(req, parallel_builds) 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 653, in _prepare_linked_requirement 2023-09-13T10:11:23,802 dist = _get_prepared_distribution( 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-09-13T10:11:23,802 abstract_dist.prepare_distribution_metadata( 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-09-13T10:11:23,802 self.req.prepare_metadata() 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 568, in prepare_metadata 2023-09-13T10:11:23,802 self.metadata_directory = generate_metadata_legacy( 2023-09-13T10:11:23,802 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-13T10:11:23,802 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-09-13T10:11:23,802 raise MetadataGenerationFailed(package_details=details) from error 2023-09-13T10:11:23,802 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-09-13T10:11:23,815 Removed shopex-dingding-note-2-x==1.2 from https://files.pythonhosted.org/packages/03/de/8a28bf549caca56e089944d5034eb37d21a8e2facb4c1572b8af02998e40/shopex_dingding_note_2.x-1.2.tar.gz from build tracker '/tmp/pip-build-tracker-hp9oe5m9' 2023-09-13T10:11:23,816 Removed build tracker: '/tmp/pip-build-tracker-hp9oe5m9'