Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [53 lines of output]
/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/site-packages/_distutils_hack/init.py:53: UserWarning: Reliance on distutils from stdlib is deprecated. Users must rely on setuptools to provide the distutils module. Avoid importing distutils or import setuptools first, and avoid setting SETUPTOOLS_USE_DISTUTILS=stdlib. Register concerns at https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml
warnings.warn(
Traceback (most recent call last):
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 1303, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 1349, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 1298, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 1058, in _send_output
self.send(msg)
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 996, in send
self.connect()
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 1468, in connect
super().connect()
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 962, in connect
self.sock = self._create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/socket.py", line 863, in create_connection
raise exceptions[0]
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/socket.py", line 848, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 35, in <module>
File "/tmp/pip-install-ev_0v1cc/pytrec-eval_03234b0cd194455da99d13a1049f8662/setup.py", line 27, in <module>
response = urllib.request.urlopen(REMOTE_TREC_EVAL_URI)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/urllib/request.py", line 519, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 110] Connection timed out>
Fetching trec_eval from https://github.com/usnistgov/trec_eval/archive/v9.0.8.tar.gz.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [53 lines of output]
/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/site-packages/_distutils_hack/init.py:53: UserWarning: Reliance on distutils from stdlib is deprecated. Users must rely on setuptools to provide the distutils module. Avoid importing distutils or import setuptools first, and avoid setting SETUPTOOLS_USE_DISTUTILS=stdlib. Register concerns at https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml
warnings.warn(
Traceback (most recent call last):
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 1303, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 1349, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 1298, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 1058, in _send_output
self.send(msg)
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 996, in send
self.connect()
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 1468, in connect
super().connect()
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/http/client.py", line 962, in connect
self.sock = self._create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/socket.py", line 863, in create_connection
raise exceptions[0]
File "/mnt/storage/envs/miniforge3/envs/hhh_autorag/lib/python3.11/socket.py", line 848, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.