C:\Users\User\Desktop\Bing-API\bingapi>rye sync
Reusing already existing virtualenv
Generating production lockfile: C:\Users\User\Desktop\Bing-API\bingapi\requirements.lock
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\User\AppData\Local\Temp\pip-resolve-gm8i2p8s\uwsgi_357daa2369084b3cb1e6fce6933d365a\setup.py", line 3, in <module>
import uwsgiconfig as uc
File "C:\Users\User\AppData\Local\Temp\pip-resolve-gm8i2p8s\uwsgi_357daa2369084b3cb1e6fce6933d365a\uwsgiconfig.py", line 8, in <module>
uwsgi_os = os.uname()[0]
^^^^^^^^
AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
Traceback (most recent call last):
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\build\metadata_legacy.py", line 64, in generate_metadata
call_subprocess(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\utils\subprocess.py", line 224, in call_subprocess
raise error
pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Scripts\pip-compile.exe\__main__.py", line 7, in <module>
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\piptools\scripts\compile.py", line 592, in cli
results = resolver.resolve(max_rounds=max_rounds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\piptools\resolver.py", line 593, in resolve
is_resolved = self._do_resolve(
^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\piptools\resolver.py", line 625, in _do_resolve
resolver.resolve(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 92, in resolve
result = self._result = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 427, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 239, in _attempt_to_pin_criterion
criteria = self._get_updated_criteria(candidate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 230, in _get_updated_criteria
self._add_to_criteria(criteria, requirement, parent=candidate)
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria
if not criterion.candidates:
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\structs.py", line 156, in __bool__
return bool(self._sequence)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 155, in __bool__
return any(self)
^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 143, in <genexpr>
return (c for c in iterator if id(c) not in self._incompatible_ids)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built
candidate = func()
^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 206, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 293, in __init__
super().__init__(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 156, in __init__
self.dist = self._prepare()
^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 225, in _prepare
dist = self._prepare_distribution()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 304, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\prepare.py", line 538, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\prepare.py", line 653, in _prepare_linked_requirement
dist = _get_prepared_distribution(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\prepare.py", line 69, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\distributions\sdist.py", line 61, in prepare_distribution_metadata
self.req.prepare_metadata()
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\req\req_install.py", line 568, in prepare_metadata
self.metadata_directory = generate_metadata_legacy(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\build\metadata_legacy.py", line 71, in generate_metadata
raise MetadataGenerationFailed(package_details=details) from error
pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed
error: could not write production lockfile for project
Caused by:
failed to generate lockfile
Verbose
C:\Users\User\Desktop\Bing-API\bingapi>rye sync --verbose
Python version already downloaded. Skipping.
Reusing already existing virtualenv
Generating production lockfile: C:\Users\User\Desktop\Bing-API\bingapi\requirements.lock
Using indexes:
https://pypi.org/simple/
Looking in indexes: https://pypi.org/simple/
ROUND 1
Obtaining file:///. (from -r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 1))
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting rookiepy>=0.2.5 (from -r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 2))
Using cached rookiepy-0.2.7.tar.gz (32 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting bs4>=0.0.1 (from -r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 3))
Using cached bs4-0.0.1.tar.gz (1.1 kB)
Preparing metadata (setup.py) ... done
Collecting requests>=2.31.0 (from -r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 4))
Obtaining dependency information for requests>=2.31.0 from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl.metadata
Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting rookie>=0.0.1 (from -r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 5))
Using cached rookie-0.0.1.tar.gz (14 kB)
Preparing metadata (setup.py) ... done
Collecting beautifulsoup4 (from bs4>=0.0.1->-r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 3))
Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.31.0->-r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 4))
Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/d1/47/148eae656ac376938afc97ed288893c6089038180c9e0782e5423ac0307d/charset_normalizer-3.3.0-cp312-cp312-win_amd64.whl.metadata
Using cached charset_normalizer-3.3.0-cp312-cp312-win_amd64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.31.0->-r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 4))
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.31.0->-r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 4))
Obtaining dependency information for urllib3<3,>=1.21.1 from https://files.pythonhosted.org/packages/26/40/9957270221b6d3e9a3b92fdfba80dd5c9661ff45a664b47edd5d00f707f5/urllib3-2.0.6-py3-none-any.whl.metadata
Using cached urllib3-2.0.6-py3-none-any.whl.metadata (6.6 kB)
Collecting certifi>=2017.4.17 (from requests>=2.31.0->-r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 4))
Obtaining dependency information for certifi>=2017.4.17 from https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl.metadata
Using cached certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting virtualenv (from rookie>=0.0.1->-r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 5))
Obtaining dependency information for virtualenv from https://files.pythonhosted.org/packages/4e/8b/f0d3a468c0186c603217a6656ea4f49259630e8ed99558501d92f6ff7dc3/virtualenv-20.24.5-py3-none-any.whl.metadata
Using cached virtualenv-20.24.5-py3-none-any.whl.metadata (4.5 kB)
Collecting uwsgi (from rookie>=0.0.1->-r C:\Users\User\AppData\Local\Temp\.tmpkomVMV (line 5))
Using cached uwsgi-2.0.22.tar.gz (809 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\User\AppData\Local\Temp\pip-resolve-9tctxzqq\uwsgi_f9eeee0f06cf4b4d9bbcb81d2d3c831e\setup.py", line 3, in <module>
import uwsgiconfig as uc
File "C:\Users\User\AppData\Local\Temp\pip-resolve-9tctxzqq\uwsgi_f9eeee0f06cf4b4d9bbcb81d2d3c831e\uwsgiconfig.py", line 8, in <module>
uwsgi_os = os.uname()[0]
^^^^^^^^
AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
Traceback (most recent call last):
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\build\metadata_legacy.py", line 64, in generate_metadata
call_subprocess(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\utils\subprocess.py", line 224, in call_subprocess
raise error
pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Scripts\pip-compile.exe\__main__.py", line 7, in <module>
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\piptools\scripts\compile.py", line 592, in cli
results = resolver.resolve(max_rounds=max_rounds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\piptools\resolver.py", line 593, in resolve
is_resolved = self._do_resolve(
^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\piptools\resolver.py", line 625, in _do_resolve
resolver.resolve(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 92, in resolve
result = self._result = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 427, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 239, in _attempt_to_pin_criterion
criteria = self._get_updated_criteria(candidate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 230, in _get_updated_criteria
self._add_to_criteria(criteria, requirement, parent=candidate)
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria
if not criterion.candidates:
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\structs.py", line 156, in __bool__
return bool(self._sequence)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 155, in __bool__
return any(self)
^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 143, in <genexpr>
return (c for c in iterator if id(c) not in self._incompatible_ids)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built
candidate = func()
^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 206, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 293, in __init__
super().__init__(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 156, in __init__
self.dist = self._prepare()
^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 225, in _prepare
dist = self._prepare_distribution()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 304, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\prepare.py", line 538, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\prepare.py", line 653, in _prepare_linked_requirement
dist = _get_prepared_distribution(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\prepare.py", line 69, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\distributions\sdist.py", line 61, in prepare_distribution_metadata
self.req.prepare_metadata()
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\req\req_install.py", line 568, in prepare_metadata
self.metadata_directory = generate_metadata_legacy(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\build\metadata_legacy.py", line 71, in generate_metadata
raise MetadataGenerationFailed(package_details=details) from error
pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed
error: could not write production lockfile for project
Caused by:
failed to generate lockfile
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: BaseThreadInitThunk
15: RtlUserThreadStart
C:\Users\User\Desktop\Bing-API\bingapi>set RUST_BACKTRACE=1
C:\Users\User\Desktop\Bing-API\bingapi>rye --version
rye 0.15.2
commit: 0.15.2 (e2beb3a90 2023-10-04)
platform: windows (x86_64)
self-python: cpython@3.11
symlink support: true
C:\Users\User\Desktop\Bing-API\bingapi>rye sync
Reusing already existing virtualenv
Generating production lockfile: C:\Users\User\Desktop\Bing-API\bingapi\requirements.lock
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\User\AppData\Local\Temp\pip-resolve-rt5ns_7j\uwsgi_8424f9496d0b48c780c6929af48540c9\setup.py", line 3, in <module>
import uwsgiconfig as uc
File "C:\Users\User\AppData\Local\Temp\pip-resolve-rt5ns_7j\uwsgi_8424f9496d0b48c780c6929af48540c9\uwsgiconfig.py", line 8, in <module>
uwsgi_os = os.uname()[0]
^^^^^^^^
AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
Traceback (most recent call last):
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\build\metadata_legacy.py", line 64, in generate_metadata
call_subprocess(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\utils\subprocess.py", line 224, in call_subprocess
raise error
pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Scripts\pip-compile.exe\__main__.py", line 7, in <module>
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\piptools\scripts\compile.py", line 592, in cli
results = resolver.resolve(max_rounds=max_rounds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\piptools\resolver.py", line 593, in resolve
is_resolved = self._do_resolve(
^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\piptools\resolver.py", line 625, in _do_resolve
resolver.resolve(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 92, in resolve
result = self._result = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 427, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 239, in _attempt_to_pin_criterion
criteria = self._get_updated_criteria(candidate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 230, in _get_updated_criteria
self._add_to_criteria(criteria, requirement, parent=candidate)
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria
if not criterion.candidates:
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_vendor\resolvelib\structs.py", line 156, in __bool__
return bool(self._sequence)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 155, in __bool__
return any(self)
^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 143, in <genexpr>
return (c for c in iterator if id(c) not in self._incompatible_ids)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built
candidate = func()
^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 206, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 293, in __init__
super().__init__(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 156, in __init__
self.dist = self._prepare()
^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 225, in _prepare
dist = self._prepare_distribution()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 304, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\prepare.py", line 538, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\prepare.py", line 653, in _prepare_linked_requirement
dist = _get_prepared_distribution(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\prepare.py", line 69, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\distributions\sdist.py", line 61, in prepare_distribution_metadata
self.req.prepare_metadata()
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\req\req_install.py", line 568, in prepare_metadata
self.metadata_directory = generate_metadata_legacy(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\.rye\pip-tools\cpython@3.12\Lib\site-packages\pip\_internal\operations\build\metadata_legacy.py", line 71, in generate_metadata
raise MetadataGenerationFailed(package_details=details) from error
pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed
error: could not write production lockfile for project
Caused by:
failed to generate lockfile
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: BaseThreadInitThunk
15: RtlUserThreadStart
Steps to Reproduce
https://github.com/thewh1teagle/Bing-API/tree/main/bingapi
Expected Result
the venv should created and sync
Actual Result
Verbose
Version Info
Stacktrace