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

[bug] (<class 'OSError'>, 'Failed to install choosenim') #226

Open
MuneebAhmedQureshi opened this issue Jul 10, 2024 · 2 comments
Open

[bug] (<class 'OSError'>, 'Failed to install choosenim') #226

MuneebAhmedQureshi opened this issue Jul 10, 2024 · 2 comments
Assignees

Comments

@MuneebAhmedQureshi
Copy link

Architecture

x86_64 (Default)

Operating System

Windows

Disk

SSD (Solid)

Memory

8 Gigabytes

CPU Cores

4 CPU Cores

Internet Connection

Optical Fiber (very fast)

What is your web browser?

Chrome/Chromium

Device

Desktop PC

Where are you from?

Pakistan

What happened?

When I tried installing library using py -m pip install faster-than-requests the following dependency error occurred.

Standard Output Logs

Collecting faster-than-requests
  Using cached faster_than_requests-21.03.03.zip (4.9 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... error
  error: subprocess-exited-with-error
  
  × pip subprocess to install backend dependencies did not run successfully.
  │ exit code: 1
  ╰─> [85 lines of output]
      Collecting choosenim_install
        Using cached choosenim_install-0.5.5.zip (9.7 MB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Building wheels for collected packages: choosenim_install
        Building wheel for choosenim_install (pyproject.toml): started
        Building wheel for choosenim_install (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error
      
        Building wheel for choosenim_install (pyproject.toml) did not run successfully.
        exit code: 1
      
        [62 lines of output]
        running bdist_wheel
        running build
        installing to build\bdist.win-amd64\wheel
        running install
        running install_egg_info
        running egg_info
        writing choosenim_install.egg-info\PKG-INFO
        writing dependency_links to choosenim_install.egg-info\dependency_links.txt
        writing top-level names to choosenim_install.egg-info\top_level.txt
        reading manifest file 'choosenim_install.egg-info\SOURCES.txt'
        writing manifest file 'choosenim_install.egg-info\SOURCES.txt'
        Copying choosenim_install.egg-info to build\bdist.win-amd64\wheel\.\choosenim_install-0.5.5-py3.12.egg-info
        running install_scripts
        choosenim v0.6.0 (2020-03-06 18:45:17) [windows/amd64]
        <string>:86: UserWarning: Choosenim is already installed and working on the system choosenim.exe
           Updating choosenim
        <string>:88: UserWarning: Failed to run 'choosenim.exe update self'
           Updating stable
        <string>:92: UserWarning: Failed to run 'choosenim.exe update stable'
        Traceback (most recent call last):
          File "C:\Users\PMYLS\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
            main()
          File "C:\Users\PMYLS\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
            json_out['return_val'] = hook(**hook_input['kwargs'])
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "C:\Users\PMYLS\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
            return _build_backend().build_wheel(wheel_directory, config_settings,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\build_meta.py", line 415, in build_wheel
            return self._build_with_temp_dir(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\build_meta.py", line 397, in _build_with_temp_dir
            self.run_setup()
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\build_meta.py", line 497, in run_setup
            super().run_setup(setup_script=setup_script)
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup
            exec(code, locals())
          File "<string>", line 210, in <module>
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup      
            return distutils.core.setup(**attrs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 184, in setup
            return run_commands(dist)
                   ^^^^^^^^^^^^^^^^^^
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 200, in run_commands
            dist.run_commands()
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 970, in run_commands
            self.run_command(cmd)
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\dist.py", line 974, in run_command    
            super().run_command(command)
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command
            cmd_obj.run()
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\command\bdist_wheel.py", line 408, in run
            self.run_command("install")
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
            self.distribution.run_command(command)
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\dist.py", line 974, in run_command    
            super().run_command(command)
          File "C:\Users\PMYLS\AppData\Local\Temp\pip-build-env-2bjjtgz8\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command
            cmd_obj.run()
          File "<string>", line 208, in run
        Exception: (<class 'OSError'>, 'Failed to install choosenim')
        [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for choosenim_install
      Failed to build choosenim_install
      ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (choosenim_install)
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Copy link

Welcome MuneebAhmedQureshi

  • Remember to ⭐ Star the project on GitHub!.
  • Congrats for your first issue!, please provide a minimal code example that reproduces the 🐛 Bug!.
    Reports with full repro code and descriptive detailed information will be fixed faster.
  • Please, keep in mind there is ZERO FUNDING for the project!, we have no sponsors, no company behind, no dev team,
    ❤️ Send crypto today to speed up development!:
Bitcoin BTC

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

BTC Bitcoin Network

1Pnf45MgGgY32X4KDNJbutnpx96E4FxqVi

Lightning Network

juancarlospaco@bitrefill.me
Ethereum ETH Dai DAI Uniswap UNI Axie Infinity AXS Smooth Love Potion SLP

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

ERC20 Ethereum Network

0xb78c4cf63274bb22f83481986157d234105ac17e
Tether USDT

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

ERC20 Ethereum Network

0xb78c4cf63274bb22f83481986157d234105ac17e

TRC20 Tron Network

TWGft53WgWvH2mnqR8ZUXq1GD8M4gZ4Yfu
Solana SOL

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

SOL Solana Network

FKaPSd8kTUpH7Q76d77toy1jjPGpZSxR4xbhQHyCMSGq
Cardano ADA

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

ADA Cardano Network

DdzFFzCqrht9Y1r4Yx7ouqG9yJNWeXFt69xavLdaeXdu4cQi2yXgNWagzh52o9k9YRh3ussHnBnDrg7v7W2hSXWXfBhbo2ooUKRFMieM
Sandbox SAND Decentraland MANA

ERC20 Ethereum Network

0xb78c4cf63274bb22f83481986157d234105ac17e
Algorand ALGO

ALGO Algorand Network

WM54DHVZQIQDVTHMPOH6FEZ4U2AU3OBPGAFTHSCYWMFE7ETKCUUOYAW24Q
Binance

https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3

@umarbutler
Copy link

+1

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

3 participants