pijuskri / bilibili-caption-project

Realtime translation tool for chinese subtitiles
2 stars 0 forks source link

Cannot install requirements #2

Open akirayorunoe opened 11 months ago

akirayorunoe commented 11 months ago

Hi, i cannot install the requirements.txt

pip install -r requirements.txt
Looking in indexes: https://download.pytorch.org/whl/cu117
Looking in links: https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html
ERROR: Could not find a version that satisfies the requirement paddlepaddle-gpu==2.4.2.post117 (from versions: none)
ERROR: No matching distribution found for paddlepaddle-gpu==2.4.2.post117
AntoniosBarotsis commented 11 months ago

Not sure but it could be that you are using an unsupported Python version?

If you are in 3.11 try using one of the versions listed there perhaps and it should be fine.

pijuskri commented 11 months ago

Yep, just installed with empty env again and it does work with python 3.9. Paddle has not been that well updated but it is the best tool ive found so i think sticking to versions below 3.10 is needed.

akirayorunoe commented 10 months ago
Screen Shot 2024-01-05 at 10 09 00

Sorry for late reply, i have downgrade to python 3.9 but still have the same issue

AntoniosBarotsis commented 10 months ago

Are you on Linux or WSL?

  • CentOS 7 (GPUVersion Supports CUDA 10.2/11.2/11.6/11.7)
  • Ubuntu 16.04/18.04/20.04/22.04 (GPUVersion Supports CUDA 10.2/11.2/11.6/11.7)

Are the required versions (including CUDA).

If that doesn't work then I'm not sure :/

pijuskri commented 10 months ago

Can you also perhaps try installing the dependencies with pip directly? I had some issues where, using the requirements file, pip was not be able to find the package, but "pip install " worked just fine.

akirayorunoe commented 10 months ago

@pijuskri so pip install each dependencies in requirement file individually?

pijuskri commented 10 months ago

Yeah, start with paddleocr to see if that fixes yhe issue