JARVIS icon indicating copy to clipboard operation
JARVIS copied to clipboard

Failed to build pyworld

Open infoBrainSys opened this issue 2 years ago • 6 comments

/dist.py:788: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
        warnings.warn(
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyworld
  Building wheel for pesq (setup.py) ... done
  Created wheel for pesq: filename=pesq-0.0.4-cp38-cp38-linux_x86_64.whl size=275123 sha256=60987c531b9b45ab5a8fba9e28feb6bbbcc75e2139e666d537c64b9b1877bd6a
  Stored in directory: /root/.cache/pip/wheels/be/50/3f/1e20ce10f2e57d3481b488245b0f05f013602dd6dca0a67d18
Successfully built ctc-segmentation pesq
Failed to build pyworld
ERROR: Could not build wheels for pyworld, which is required to install pyproject.toml-based projects

infoBrainSys avatar Apr 16 '23 12:04 infoBrainSys

ran into this issue too

I dont exactly remember what fixed it, it was either installing one of the packages below:

apt-get update &&
apt-get install -y grep wget curl dos2unix
gcc libxml2-dev libxmlsec1-dev g++
ffmpeg libsm6 libxext6
git git-lfs && \

or running all python through conda, like

conda run -n jarvis pip install -r requirements.txt

I am however also building everything in a dockerfile so results may vary

Baizey avatar Apr 16 '23 18:04 Baizey

Same issue for me after multiple attempts

Sutek484 avatar Apr 17 '23 12:04 Sutek484

The same issue for me and i'm not sure for this: for Ubuntu ,use sudo apt-get install g++

wszxdzd avatar Apr 20 '23 09:04 wszxdzd

please try this to install the development tools for your operating system. If you are using Ubuntu or Debian, you can install the build-essential package, which contains the necessary development tools, by running the following command: sudo apt-get install build-essential

jackywood avatar Apr 23 '23 15:04 jackywood

sudo apt-get install build-essential

this resolved the issue for me, thanks @jackywood!

whatactuallyis avatar Jun 18 '23 13:06 whatactuallyis

please try this to install the development tools for your operating system. If you are using Ubuntu or Debian, you can install the build-essential package, which contains the necessary development tools, by running the following command: sudo apt-get install build-essential

This worked for me too.

Karthik-Ragunath avatar Jun 29 '23 05:06 Karthik-Ragunath