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

Python package installation errors #4

Closed
ZacheryGuan opened this issue Jan 14, 2020 · 9 comments
Closed

Python package installation errors #4

ZacheryGuan opened this issue Jan 14, 2020 · 9 comments

Comments

@ZacheryGuan
Copy link

I've encountered and solved two errors during installation. I hope the following info would be helpful to others interested in this repo.

  1. If you fail to install pyworld during pip install -r requirement, use:
    MACOSX_DEPLOYMENT_TARGET=10.9 pip install pyworld
    instead. See Install error in Mac OSX JeremyCCHsu/Python-Wrapper-for-World-Vocoder#1 (comment) for reference.

  2. Because of the tensorflow2, the requirement.txt can add a tensorflow version descriptor like "1.15.0".

@dudes17
Copy link

dudes17 commented Jan 15, 2020

I've encountered and solved two errors during installation. I hope the following info would be helpful to others interested in this repo.

  1. If you fail to install pyworld during pip install -r requirement, use:
    MACOSX_DEPLOYMENT_TARGET=10.9 pip install pyworld
    instead. See JeremyCCHsu/Python-Wrapper-for-World-Vocoder#1 (comment) for reference.
  2. Because of the tensorflow2, the requirement.txt can add a tensorflow version descriptor like "1.15.0".

Thanks, was able to install it finally.

Have you tried to train your own model? Does it work to you?

@ZacheryGuan
Copy link
Author

ZacheryGuan commented Jan 17, 2020 via email

@seaniezhao
Copy link
Owner

thanks

@PatrickAi01
Copy link

hello i want to ask if anyone can help, i am running a code on google collab, i am using m1 mac
i am encountering

Building wheels for collected packages: pyworld
error: subprocess-exited-with-error

× Building wheel for pyworld (pyproject.toml) 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.
Building wheel for pyworld (pyproject.toml) ... error
ERROR: Failed building wheel for pyworld
Failed to build pyworld
ERROR: Could not build wheels for pyworld, which is required to install pyproject.toml-based projects

Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
Requirement already satisfied: scipy==1.10.1 in /usr/local/lib/python3.10/dist-packages (1.10.1)
Requirement already satisfied: numpy<1.27.0,>=1.19.5 in /usr/local/lib/python3.10/dist-packages (from scipy==1.10.1) (1.23.5)
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
Requirement already satisfied: SoundFile==0.12.1 in /usr/local/lib/python3.10/dist-packages (0.12.1)
Requirement already satisfied: cffi>=1.0 in /usr/local/lib/python3.10/dist-packages (from SoundFile==0.12.1) (1.15.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from cffi>=1.0->SoundFile==0.12.1) (2.21)
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
Collecting torch==1.13.1
Downloading https://download.pytorch.org/whl/cu116/torch-1.13.1%2Bcu116-cp310-cp310-linux_x86_64.whl (1977.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 GB 915.7 kB/s eta 0:00:00
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch==1.13.1) (4.7.1)
Installing collected packages: torch
Attempting uninstall: torch
Found existing installation: torch 2.0.1+cu118
Uninstalling torch-2.0.1+cu118:
Successfully uninstalled torch-2.0.1+cu118
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchaudio 2.0.2+cu118 requires torch==2.0.1, but you have torch 1.13.1+cu116 which is incompatible.
torchdata 0.6.1 requires torch==2.0.1, but you have torch 1.13.1+cu116 which is incompatible.
torchtext 0.15.2 requires torch==2.0.1, but you have torch 1.13.1+cu116 which is incompatible.
torchvision 0.15.2+cu118 requires torch==2.0.1, but you have torch 1.13.1+cu116 which is incompatible.
Successfully installed torch-1.13.1+cu116

does anyone know how to resolve this?

@seaniezhao
Copy link
Owner

it is because of the pyworld package, you could try build it follow https://github.com/JeremyCCHsu/Python-Wrapper-for-World-Vocoder

@PatrickAi01
Copy link

i will try this out @seaniezhao
btw may i ask if it is possible to link this via API to my own website?

@seaniezhao
Copy link
Owner

i will try this out @seaniezhao btw may i ask if it is possible to link this via API to my own website?

Yes, we also have a commercial version available, check this: https://github.com/timedomain-tech/ACE_sequence_file

@PatrickAi01
Copy link

Hello @seaniezhao thank you for replying, may I ask what the issue is here? something relating to ffmpeg?

Screenshot 2023-07-25 at 1 28 04 PM

@seaniezhao
Copy link
Owner

Hello @seaniezhao thank you for replying, may I ask what the issue is here? something relating to ffmpeg?

Screenshot 2023-07-25 at 1 28 04 PM

sorry I don't know about this issue

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

4 participants