2023-03-31T02:27:45,580 Created temporary directory: /tmp/pip-ephem-wheel-cache-43aynfj1 2023-03-31T02:27:45,583 Created temporary directory: /tmp/pip-build-tracker-keuxezde 2023-03-31T02:27:45,583 Initialized build tracking at /tmp/pip-build-tracker-keuxezde 2023-03-31T02:27:45,584 Created build tracker: /tmp/pip-build-tracker-keuxezde 2023-03-31T02:27:45,584 Entered build tracker: /tmp/pip-build-tracker-keuxezde 2023-03-31T02:27:45,584 Created temporary directory: /tmp/pip-wheel-ftwjbklh 2023-03-31T02:27:45,589 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2023-03-31T02:27:45,592 Created temporary directory: /tmp/pip-ephem-wheel-cache-x7ssx3qq 2023-03-31T02:27:45,620 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-31T02:27:45,623 2 location(s) to search for versions of langchain-serve: 2023-03-31T02:27:45,623 * https://pypi.org/simple/langchain-serve/ 2023-03-31T02:27:45,623 * https://www.piwheels.org/simple/langchain-serve/ 2023-03-31T02:27:45,624 Fetching project page and analyzing links: https://pypi.org/simple/langchain-serve/ 2023-03-31T02:27:45,624 Getting page https://pypi.org/simple/langchain-serve/ 2023-03-31T02:27:45,626 Found index url https://pypi.org/simple 2023-03-31T02:27:45,678 Fetched page https://pypi.org/simple/langchain-serve/ as application/vnd.pypi.simple.v1+json 2023-03-31T02:27:45,680 Found link https://files.pythonhosted.org/packages/1d/e4/8d03abe35c857c77ca9bde6f7d193192224948ad532aa74a442c51cb3c94/langchain-serve-0.0.1.dev1.tar.gz (from https://pypi.org/simple/langchain-serve/), version: 0.0.1.dev1 2023-03-31T02:27:45,680 Found link https://files.pythonhosted.org/packages/42/31/1bf55bdf10708e56cc908b8ec794a6bdf0ed0389de036f0f828ca6751131/langchain-serve-0.0.1.dev6.tar.gz (from https://pypi.org/simple/langchain-serve/), version: 0.0.1.dev6 2023-03-31T02:27:45,680 Found link https://files.pythonhosted.org/packages/0c/c8/18b420175bf3054813c2baf6188a2f81427736ec1a794a7822b7ff72cf88/langchain-serve-0.0.1.dev7.tar.gz (from https://pypi.org/simple/langchain-serve/), version: 0.0.1.dev7 2023-03-31T02:27:45,681 Found link https://files.pythonhosted.org/packages/98/19/510ef680b097c79c8738f50234b6b68f39933c06eb92ba29adeec22c116b/langchain-serve-0.0.1.dev8.tar.gz (from https://pypi.org/simple/langchain-serve/), version: 0.0.1.dev8 2023-03-31T02:27:45,681 Found link https://files.pythonhosted.org/packages/6a/ff/f464c67063bee03d16601d07201a27fdae3417d19a06ebb1b2461606f8bd/langchain-serve-0.0.1.dev9.tar.gz (from https://pypi.org/simple/langchain-serve/), version: 0.0.1.dev9 2023-03-31T02:27:45,681 Fetching project page and analyzing links: https://www.piwheels.org/simple/langchain-serve/ 2023-03-31T02:27:45,681 Getting page https://www.piwheels.org/simple/langchain-serve/ 2023-03-31T02:27:45,682 Found index url https://www.piwheels.org/simple 2023-03-31T02:27:45,851 Fetched page https://www.piwheels.org/simple/langchain-serve/ as text/html 2023-03-31T02:27:45,851 Skipping link: not a file: https://www.piwheels.org/simple/langchain-serve/ 2023-03-31T02:27:45,852 Skipping link: not a file: https://pypi.org/simple/langchain-serve/ 2023-03-31T02:27:45,870 Given no hashes to check 1 links for project 'langchain-serve': discarding no candidates 2023-03-31T02:27:45,887 Collecting langchain-serve==0.0.1.dev8 2023-03-31T02:27:45,889 Created temporary directory: /tmp/pip-unpack-ej1r52yg 2023-03-31T02:27:45,932 Downloading langchain-serve-0.0.1.dev8.tar.gz (27 kB) 2023-03-31T02:27:46,001 Added langchain-serve==0.0.1.dev8 from https://files.pythonhosted.org/packages/98/19/510ef680b097c79c8738f50234b6b68f39933c06eb92ba29adeec22c116b/langchain-serve-0.0.1.dev8.tar.gz to build tracker '/tmp/pip-build-tracker-keuxezde' 2023-03-31T02:27:46,003 Running setup.py (path:/tmp/pip-wheel-ftwjbklh/langchain-serve_cf62e8ee07de4df1bc8b9aa9db988e57/setup.py) egg_info for package langchain-serve 2023-03-31T02:27:46,004 Created temporary directory: /tmp/pip-pip-egg-info-cgugb7rm 2023-03-31T02:27:46,004 Preparing metadata (setup.py): started 2023-03-31T02:27:46,005 Running command python setup.py egg_info 2023-03-31T02:27:46,720 Traceback (most recent call last): 2023-03-31T02:27:46,721 File "", line 2, in 2023-03-31T02:27:46,721 File "", line 34, in 2023-03-31T02:27:46,721 File "/tmp/pip-wheel-ftwjbklh/langchain-serve_cf62e8ee07de4df1bc8b9aa9db988e57/setup.py", line 41, in 2023-03-31T02:27:46,722 install_requires = get_requirements_list( 2023-03-31T02:27:46,722 File "/tmp/pip-wheel-ftwjbklh/langchain-serve_cf62e8ee07de4df1bc8b9aa9db988e57/setup.py", line 10, in get_requirements_list 2023-03-31T02:27:46,722 with pathlib.Path(f).open() as requirements_txt: 2023-03-31T02:27:46,722 File "/usr/lib/python3.9/pathlib.py", line 1241, in open 2023-03-31T02:27:46,723 return io.open(self, mode, buffering, encoding, errors, newline, 2023-03-31T02:27:46,723 File "/usr/lib/python3.9/pathlib.py", line 1109, in _opener 2023-03-31T02:27:46,724 return self._accessor.open(self, flags, mode) 2023-03-31T02:27:46,724 FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-wheel-ftwjbklh/langchain-serve_cf62e8ee07de4df1bc8b9aa9db988e57/requirements.txt' 2023-03-31T02:27:46,778 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-03-31T02:27:46,798 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-03-31T02:27:46,798 exec(compile('"'"''"'"''"'"' 2023-03-31T02:27:46,798 # This is -- a caller that pip uses to run setup.py 2023-03-31T02:27:46,798 # 2023-03-31T02:27:46,798 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-03-31T02:27:46,798 # import from `distutils.core` to work with newer packaging standards. 2023-03-31T02:27:46,798 # - It provides a clear error message when setuptools is not installed. 2023-03-31T02:27:46,798 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-03-31T02:27:46,798 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-03-31T02:27:46,798 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-03-31T02:27:46,798 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-03-31T02:27:46,798 import os, sys, tokenize 2023-03-31T02:27:46,798 2023-03-31T02:27:46,798 try: 2023-03-31T02:27:46,798 import setuptools 2023-03-31T02:27:46,798 except ImportError as error: 2023-03-31T02:27:46,798 print( 2023-03-31T02:27:46,798 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-03-31T02:27:46,798 "the build environment.", 2023-03-31T02:27:46,798 file=sys.stderr, 2023-03-31T02:27:46,798 ) 2023-03-31T02:27:46,798 sys.exit(1) 2023-03-31T02:27:46,798 2023-03-31T02:27:46,798 __file__ = %r 2023-03-31T02:27:46,798 sys.argv[0] = __file__ 2023-03-31T02:27:46,798 2023-03-31T02:27:46,798 if os.path.exists(__file__): 2023-03-31T02:27:46,798 filename = __file__ 2023-03-31T02:27:46,798 with tokenize.open(__file__) as f: 2023-03-31T02:27:46,798 setup_py_code = f.read() 2023-03-31T02:27:46,798 else: 2023-03-31T02:27:46,798 filename = "" 2023-03-31T02:27:46,798 setup_py_code = "from setuptools import setup; setup()" 2023-03-31T02:27:46,798 2023-03-31T02:27:46,798 exec(compile(setup_py_code, filename, "exec")) 2023-03-31T02:27:46,798 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-ftwjbklh/langchain-serve_cf62e8ee07de4df1bc8b9aa9db988e57/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-cgugb7rm[/] 2023-03-31T02:27:46,798 [bold magenta]cwd[/]: /tmp/pip-wheel-ftwjbklh/langchain-serve_cf62e8ee07de4df1bc8b9aa9db988e57/ 2023-03-31T02:27:46,798 Preparing metadata (setup.py): finished with status 'error' 2023-03-31T02:27:46,799 ERROR: [present-rich] metadata generation failed 2023-03-31T02:27:46,805 Exception information: 2023-03-31T02:27:46,805 Traceback (most recent call last): 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-03-31T02:27:46,805 call_subprocess( 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-03-31T02:27:46,805 raise error 2023-03-31T02:27:46,805 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-03-31T02:27:46,805 2023-03-31T02:27:46,805 The above exception was the direct cause of the following exception: 2023-03-31T02:27:46,805 2023-03-31T02:27:46,805 Traceback (most recent call last): 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2023-03-31T02:27:46,805 status = run_func(*args) 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2023-03-31T02:27:46,805 return func(self, options, args) 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 170, in run 2023-03-31T02:27:46,805 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-03-31T02:27:46,805 result = self._result = resolver.resolve( 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve 2023-03-31T02:27:46,805 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 348, in resolve 2023-03-31T02:27:46,805 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria 2023-03-31T02:27:46,805 if not criterion.candidates: 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/structs.py", line 151, in __bool__ 2023-03-31T02:27:46,805 return bool(self._sequence) 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-03-31T02:27:46,805 return any(self) 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-03-31T02:27:46,805 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-03-31T02:27:46,805 candidate = func() 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-03-31T02:27:46,805 self._link_candidate_cache[link] = LinkCandidate( 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 297, in __init__ 2023-03-31T02:27:46,805 super().__init__( 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__ 2023-03-31T02:27:46,805 self.dist = self._prepare() 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 231, in _prepare 2023-03-31T02:27:46,805 dist = self._prepare_distribution() 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 308, in _prepare_distribution 2023-03-31T02:27:46,805 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 491, in prepare_linked_requirement 2023-03-31T02:27:46,805 return self._prepare_linked_requirement(req, parallel_builds) 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 577, in _prepare_linked_requirement 2023-03-31T02:27:46,805 dist = _get_prepared_distribution( 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-03-31T02:27:46,805 abstract_dist.prepare_distribution_metadata( 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-03-31T02:27:46,805 self.req.prepare_metadata() 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/req/req_install.py", line 545, in prepare_metadata 2023-03-31T02:27:46,805 self.metadata_directory = generate_metadata_legacy( 2023-03-31T02:27:46,805 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-03-31T02:27:46,805 raise MetadataGenerationFailed(package_details=details) from error 2023-03-31T02:27:46,805 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-03-31T02:27:46,816 Removed langchain-serve==0.0.1.dev8 from https://files.pythonhosted.org/packages/98/19/510ef680b097c79c8738f50234b6b68f39933c06eb92ba29adeec22c116b/langchain-serve-0.0.1.dev8.tar.gz from build tracker '/tmp/pip-build-tracker-keuxezde' 2023-03-31T02:27:46,816 Removed build tracker: '/tmp/pip-build-tracker-keuxezde'