Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rye can't install pyperclip #1432

Open
marryton007 opened this issue Nov 11, 2024 · 0 comments
Open

rye can't install pyperclip #1432

marryton007 opened this issue Nov 11, 2024 · 0 comments

Comments

@marryton007
Copy link

marryton007 commented Nov 11, 2024

Steps to Reproduce

scoop install rye
rye install pyperclip

Expected Result

No error, install success.

Actual Result

~ ❯ rye install -v pyperclip
Python version already downloaded. Skipping.
Using CPython 3.12.7 interpreter at: D:\scoop\persist\rye\py\c[email protected]\python.exe
Creating virtual environment at: D:\scoop\persist\rye\tools\pyperclip
Activate with: D:\scoop\persist\rye\tools\pyperclip\Scripts\activate
DEBUG uv 0.4.25 (97eb6ab4a 2024-10-21)
DEBUG Searching for default Python interpreter in system path or `py` launcher
DEBUG Found `cpython-3.12.7-windows-x86_64-none` at `D:\scoop\persist\rye\tools\pyperclip\Scripts\python.exe` (active virtual environment)
Using Python 3.12.7 environment at D:\scoop\persist\rye\tools\pyperclip
DEBUG Acquired lock for `D:\scoop\persist\rye\tools\pyperclip`
DEBUG At least one requirement is not satisfied: pyperclip
DEBUG Using request timeout of 30s
DEBUG Solving with installed Python version: 3.12.7
DEBUG Solving with target Python version: >=3.12.7
DEBUG Adding direct dependency: pyperclip*
DEBUG Found fresh response for: https://mirrors.aliyun.com/pypi/simple/pyperclip/
DEBUG Searching for a compatible version of pyperclip (*)
DEBUG Selecting: pyperclip==1.9.0 [compatible] (pyperclip-1.9.0.tar.gz)
DEBUG Acquired lock for `C:\Users\marry\AppData\Local\uv\cache\sdists-v5\index\3ba65c4f41aac3a1\pyperclip\1.9.0`
DEBUG Found stale response for: https://mirrors.aliyun.com/pypi/packages/30/23/2f0a3efc4d6a32f3b63cdff36cd398d9701d26cda58e3ab97ac79fb5e60d/pyperclip-1.9.0.tar.gz#sha256=b7de0142ddc81bfc5c7507eea19da920b92252b548b96186caf94a5e2527d310
DEBUG Sending revalidation request for: https://mirrors.aliyun.com/pypi/packages/30/23/2f0a3efc4d6a32f3b63cdff36cd398d9701d26cda58e3ab97ac79fb5e60d/pyperclip-1.9.0.tar.gz#sha256=b7de0142ddc81bfc5c7507eea19da920b92252b548b96186caf94a5e2527d310
DEBUG Found not-modified response for: https://mirrors.aliyun.com/pypi/packages/30/23/2f0a3efc4d6a32f3b63cdff36cd398d9701d26cda58e3ab97ac79fb5e60d/pyperclip-1.9.0.tar.gz#sha256=b7de0142ddc81bfc5c7507eea19da920b92252b548b96186caf94a5e2527d310
DEBUG No static `pyproject.toml` available for: pyperclip==1.9.0 (MissingPyprojectToml)
DEBUG No static `PKG-INFO` available for: pyperclip==1.9.0 (PkgInfo(UnsupportedMetadataVersion("2.1")))
DEBUG No static `egg-info` available for: pyperclip==1.9.0 (MissingEggInfo)
DEBUG Preparing metadata for: pyperclip==1.9.0
DEBUG Ignoring empty directory
DEBUG Resolving build requirements
DEBUG Solving with installed Python version: 3.12.7
DEBUG Solving with target Python version: >=3.12.7
DEBUG Adding direct dependency: setuptools>=40.8.0
DEBUG Found stale response for: https://mirrors.aliyun.com/pypi/simple/setuptools/
DEBUG Sending revalidation request for: https://mirrors.aliyun.com/pypi/simple/setuptools/
DEBUG Found modified response for: https://mirrors.aliyun.com/pypi/simple/setuptools/
WARN Skipping file for setuptools: setuptools-0.6b1-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6b1-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6b2-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6b2-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6b3-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6b3-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6b4-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6b4-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c1-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6c1-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c10-1.src.rpm
WARN Skipping file for setuptools: setuptools-0.6c10-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6c10-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c10-py2.5.egg
WARN Skipping file for setuptools: setuptools-0.6c10-py2.6.egg
WARN Skipping file for setuptools: setuptools-0.6c10.win32-py2.3.exe
WARN Skipping file for setuptools: setuptools-0.6c10.win32-py2.4.exe
WARN Skipping file for setuptools: setuptools-0.6c10.win32-py2.5.exe
WARN Skipping file for setuptools: setuptools-0.6c10.win32-py2.6.exe
WARN Skipping file for setuptools: setuptools-0.6c11-1.src.rpm
WARN Skipping file for setuptools: setuptools-0.6c11-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6c11-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c11-py2.5.egg
WARN Skipping file for setuptools: setuptools-0.6c11-py2.6.egg
WARN Skipping file for setuptools: setuptools-0.6c11-py2.7.egg
WARN Skipping file for setuptools: setuptools-0.6c11.win32-py2.3.exe
WARN Skipping file for setuptools: setuptools-0.6c11.win32-py2.4.exe
WARN Skipping file for setuptools: setuptools-0.6c11.win32-py2.5.exe
WARN Skipping file for setuptools: setuptools-0.6c11.win32-py2.6.exe
WARN Skipping file for setuptools: setuptools-0.6c11.win32-py2.7.exe
WARN Skipping file for setuptools: setuptools-0.6c2-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6c2-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c3-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6c3-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c3-py2.5.egg
WARN Skipping file for setuptools: setuptools-0.6c4-1.src.rpm
WARN Skipping file for setuptools: setuptools-0.6c4-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6c4-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c4-py2.5.egg
WARN Skipping file for setuptools: setuptools-0.6c4.win32-py2.3.exe
WARN Skipping file for setuptools: setuptools-0.6c4.win32-py2.4.exe
WARN Skipping file for setuptools: setuptools-0.6c4.win32-py2.5.exe
WARN Skipping file for setuptools: setuptools-0.6c5-1.src.rpm
WARN Skipping file for setuptools: setuptools-0.6c5-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6c5-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c5-py2.5.egg
WARN Skipping file for setuptools: setuptools-0.6c5.win32-py2.3.exe
WARN Skipping file for setuptools: setuptools-0.6c5.win32-py2.4.exe
WARN Skipping file for setuptools: setuptools-0.6c5.win32-py2.5.exe
WARN Skipping file for setuptools: setuptools-0.6c6-1.src.rpm
WARN Skipping file for setuptools: setuptools-0.6c6-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6c6-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c6-py2.5.egg
WARN Skipping file for setuptools: setuptools-0.6c6.win32-py2.3.exe
WARN Skipping file for setuptools: setuptools-0.6c6.win32-py2.4.exe
WARN Skipping file for setuptools: setuptools-0.6c6.win32-py2.5.exe
WARN Skipping file for setuptools: setuptools-0.6c7-1.src.rpm
WARN Skipping file for setuptools: setuptools-0.6c7-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6c7-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c7-py2.5.egg
WARN Skipping file for setuptools: setuptools-0.6c7.win32-py2.3.exe
WARN Skipping file for setuptools: setuptools-0.6c7.win32-py2.4.exe
WARN Skipping file for setuptools: setuptools-0.6c7.win32-py2.5.exe
WARN Skipping file for setuptools: setuptools-0.6c8-1.src.rpm
WARN Skipping file for setuptools: setuptools-0.6c8-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6c8-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c8-py2.5.egg
WARN Skipping file for setuptools: setuptools-0.6c8.win32-py2.3.exe
WARN Skipping file for setuptools: setuptools-0.6c8.win32-py2.4.exe
WARN Skipping file for setuptools: setuptools-0.6c8.win32-py2.5.exe
WARN Skipping file for setuptools: setuptools-0.6c9-1.src.rpm
WARN Skipping file for setuptools: setuptools-0.6c9-py2.3.egg
WARN Skipping file for setuptools: setuptools-0.6c9-py2.4.egg
WARN Skipping file for setuptools: setuptools-0.6c9-py2.5.egg
WARN Skipping file for setuptools: setuptools-0.6c9-py2.6.egg
WARN Skipping file for setuptools: setuptools-0.6c9.win32-py2.3.exe
WARN Skipping file for setuptools: setuptools-0.6c9.win32-py2.4.exe
WARN Skipping file for setuptools: setuptools-0.6c9.win32-py2.5.exe
WARN Skipping file for setuptools: setuptools-18.3.1-py3.4.egg
DEBUG Searching for a compatible version of setuptools (>=40.8.0)
DEBUG Selecting: setuptools==75.3.0 [compatible] (setuptools-75.3.0-py3-none-any.whl)
DEBUG Found stale response for: https://mirrors.aliyun.com/pypi/packages/90/12/282ee9bce8b58130cb762fbc9beabd531549952cac11fc56add11dcb7ea0/setuptools-75.3.0-py3-none-any.whl#sha256=f2504966861356aa38616760c0f66568e535562374995367b4e69c7143cf6bcd
DEBUG Sending revalidation request for: https://mirrors.aliyun.com/pypi/packages/90/12/282ee9bce8b58130cb762fbc9beabd531549952cac11fc56add11dcb7ea0/setuptools-75.3.0-py3-none-any.whl#sha256=f2504966861356aa38616760c0f66568e535562374995367b4e69c7143cf6bcd
DEBUG Found not-modified response for: https://mirrors.aliyun.com/pypi/packages/90/12/282ee9bce8b58130cb762fbc9beabd531549952cac11fc56add11dcb7ea0/setuptools-75.3.0-py3-none-any.whl#sha256=f2504966861356aa38616760c0f66568e535562374995367b4e69c7143cf6bcd
DEBUG Tried 1 versions: setuptools 1
DEBUG Split specific environment resolution took 0.112s
DEBUG Installing in setuptools==75.3.0 in C:\Users\marry\AppData\Local\uv\cache\builds-v0\.tmp1jxosQ
DEBUG Requirement already cached: setuptools==75.3.0
DEBUG Installing build requirement: setuptools==75.3.0
DEBUG Creating PEP 517 build environment
DEBUG Calling `setuptools.build_meta:__legacy__.get_requires_for_build_wheel()`
DEBUG C:\Users\marry\AppData\Local\uv\cache\builds-v0\.tmp1jxosQ\Lib\site-packages\setuptools\_distutils\dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
DEBUG   warnings.warn(msg)
DEBUG running egg_info
DEBUG writing src\pyperclip.egg-info\PKG-INFO
DEBUG writing dependency_links to src\pyperclip.egg-info\dependency_links.txt
DEBUG writing top-level names to src\pyperclip.egg-info\top_level.txt
DEBUG reading manifest file 'src\pyperclip.egg-info\SOURCES.txt'
DEBUG reading manifest template 'MANIFEST.in'
DEBUG warning: no files found matching '*.py' under directory 'pyperclip'
DEBUG adding license file 'LICENSE.txt'
DEBUG adding license file 'AUTHORS.txt'
DEBUG writing manifest file 'src\pyperclip.egg-info\SOURCES.txt'
DEBUG Released lock at `C:\Users\marry\AppData\Local\uv\cache\sdists-v5\index\3ba65c4f41aac3a1\pyperclip\1.9.0\.lock`
  × Failed to download and build `pyperclip==1.9.0`
  ╰─▶ Build backend failed to read requirements from `get_requires_for_build_wheel`: failed to open file
      `C:\Users\marry\AppData\Local\uv\cache\builds-v0\.tmp1jxosQ\get_requires_for_build_wheel.txt` (exit code: 0)

      [stdout]
      running egg_info
      writing src\pyperclip.egg-info\PKG-INFO
      writing dependency_links to src\pyperclip.egg-info\dependency_links.txt
      writing top-level names to src\pyperclip.egg-info\top_level.txt
      reading manifest file 'src\pyperclip.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE.txt'
      adding license file 'AUTHORS.txt'
      writing manifest file 'src\pyperclip.egg-info\SOURCES.txt'

      [stderr]
      C:\Users\marry\AppData\Local\uv\cache\builds-v0\.tmp1jxosQ\Lib\site-packages\setuptools\_distutils\dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
        warnings.warn(msg)
      warning: no files found matching '*.py' under directory 'pyperclip'

DEBUG Released lock at `D:\scoop\persist\rye\tools\pyperclip\.lock`
error: Installation of pyperclip failed in venv at D:\scoop\persist\rye\tools\pyperclip. uv exited with status: exit code: 1

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

Version Info

Windows11 Home Edition, 24H2 26100.2161

rye 0.42.0
commit: 0.42.0 (b8f472e15 2024-10-21)
platform: windows (x86_64)
self-python: [email protected]
symlink support: false
uv enabled: true

Stacktrace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant