daswer123 / xtts-api-server

A simple FastAPI Server to run XTTSv2
MIT License
372 stars 85 forks source link

Dependency Conflicts and Missing `package.json` During Installation #76

Open VermiNew opened 4 months ago

VermiNew commented 4 months ago

I encountered multiple issues while installing the necessary packages and dependencies for my project. The following problems were observed:

Missing package.json:

   npm WARN saveError ENOENT: no such file or directory, open '/content/package.json'
   npm WARN enoent ENOENT: no such file or directory, open '/content/package.json'
   npm WARN content No description
   npm WARN content No repository field.
   npm WARN content No README data
   npm WARN content No license field.

The package.json file is missing, leading to several warnings during the npm install process.

Dependency conflicts with PyTorch:

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.
torch 2.3.0+cu121 requires nvidia-cublas-cu12==12.1.3.1; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
torch 2.3.0+cu121 requires nvidia-cuda-cupti-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
torch 2.3.0+cu121 requires nvidia-cuda-nvrtc-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
torch 2.3.0+cu121 requires nvidia-cuda-runtime-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
torch 2.3.0+cu121 requires nvidia-cudnn-cu12==8.9.2.26; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
torch 2.3.0+cu121 requires nvidia-cufft-cu12==11.0.2.54; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
torch 2.3.0+cu121 requires nvidia-curand-cu12==10.3.2.106; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
torch 2.3.0+cu121 requires nvidia-cusolver-cu12==11.4.5.107; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
torch 2.3.0+cu121 requires nvidia-cusparse-cu12==12.1.0.106; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
torch 2.3.0+cu121 requires nvidia-nccl-cu12==2.20.5; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
torch 2.3.0+cu121 requires nvidia-nvtx-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.

PyTorch requires several NVIDIA packages which are not installed, causing dependency conflicts.

Other dependency conflicts:

   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.
   gcsfs 2023.6.0 requires fsspec==2023.6.0, but you have fsspec 2024.2.0 which is incompatible.
   google-colab 1.0.0 requires requests==2.31.0, but you have requests 2.28.1 which is incompatible.
   imageio 2.31.6 requires pillow<10.1.0,>=8.3.2, but you have pillow 10.2.0 which is incompatible.
   kaggle 1.6.14 requires certifi>=2023.7.22, but you have certifi 2022.12.7 which is incompatible.
   yfinance 0.2.40 requires requests>=2.31, but you have requests 2.28.1 which is incompatible.

Steps to Reproduce:

  1. Run the Colab using GPU T4 or TPU.

Expected Behavior:

Actual Behavior:


Please fix this issue. Colab has been the only place to test this project so far. I really like it and have already built an app using this project, and I don't want to move away from this solution.

Thank you!