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

Error in installing from docker #1542

Closed
froxmox opened this issue Jun 24, 2022 · 4 comments
Closed

Error in installing from docker #1542

froxmox opened this issue Jun 24, 2022 · 4 comments
Labels
Bug Unexpected problem or unintended behavior that needs to be fixed

Comments

@froxmox
Copy link

froxmox commented Jun 24, 2022

System OS

Linux

Python Version

3.10 (CPython)

Install Source

GitHub

Install version / commit hash

master

Expected Behavior vs Actual Behavior

Hello,
When installing in a docker container, it gives an error.

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for jarowinkler
  Failed to build jarowinkler
  ERROR: Could not build wheels for jarowinkler, which is required to install pyproject.toml-based projects
  WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available.
  You should consider upgrading via the '/root/.cache/pypoetry/virtualenvs/spotdl-il7asoJj-py3.10/bin/python -m pip install --upgrade pip' command.
  

  at /usr/local/lib/python3.10/site-packages/poetry/utils/env.py:1195 in _run
      1191│                 output = subprocess.check_output(
      1192│                     cmd, stderr=subprocess.STDOUT, **kwargs
      1193│                 )
      1194│         except CalledProcessError as e:
    → 1195│             raise EnvCommandError(e, input=input_)
      1196│ 
      1197│         return decode(output)
      1198│ 
      1199│     def execute(self, bin, *args, **kwargs):

The command '/bin/sh -c poetry install' returned a non-zero code: 1

Steps to reproduce - Ensure to include actual links!

  1. docker build -t spotdl .

Traceback

note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for jarowinkler
  Failed to build jarowinkler
  ERROR: Could not build wheels for jarowinkler, which is required to install pyproject.toml-based projects
  WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available.
  You should consider upgrading via the '/root/.cache/pypoetry/virtualenvs/spotdl-il7asoJj-py3.10/bin/python -m pip install --upgrade pip' command.
  

  at /usr/local/lib/python3.10/site-packages/poetry/utils/env.py:1195 in _run
      1191│                 output = subprocess.check_output(
      1192│                     cmd, stderr=subprocess.STDOUT, **kwargs
      1193│                 )
      1194│         except CalledProcessError as e:
    → 1195│             raise EnvCommandError(e, input=input_)
      1196│ 
      1197│         return decode(output)
      1198│ 
      1199│     def execute(self, bin, *args, **kwargs):

The command '/bin/sh -c poetry install' returned a non-zero code: 1

Other details

No response

@froxmox froxmox added the Bug Unexpected problem or unintended behavior that needs to be fixed label Jun 24, 2022
@froxmox froxmox changed the title Change this title, poorly formatted issues will not be handled Error in installing from docker Jun 24, 2022
@xnetcat
Copy link
Member

xnetcat commented Jun 27, 2022

Fixed on master branch

@Silverarmor
Copy link
Member

@froxmox can you reproduce anymore in v4.0.0-rc.2 (release candidate 2)?

@xnetcat
Copy link
Member

xnetcat commented Jul 2, 2022

Should be fixed, feel free to reopen this issue

@xnetcat xnetcat closed this as completed Jul 2, 2022
@milouk
Copy link

milouk commented Jul 17, 2022

still not fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Unexpected problem or unintended behavior that needs to be fixed
Projects
None yet
Development

No branches or pull requests

4 participants