FlorianEagox / WeeaBlind

A program to dub non-english media with modern AI speech synthesis, diarization, and voice cloning!
https://tessapainter.com/project/WeeaBlind
284 stars 26 forks source link

Dependency conflicts during installation of project dependencies #19

Open fralapo opened 8 months ago

fralapo commented 8 months ago

Hey there,

So, I was trying to install the dependencies for the project, but ran into a bit of a snag. Here's the error message I got:

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.
video-ocr 0.0.2 requires opencv-python~=4.5.5.62, which is not installed.
video-ocr 0.0.2 requires tesserocr~=2.5.2, which is not installed.
flask 3.0.2 requires click>=8.1.3, but you have click 7.1.2 which is incompatible.
video-ocr 0.0.2 requires click~=8.0.1, but you have click 7.1.2 which is incompatible.
video-ocr 0.0.2 requires numpy~=1.22.2, but you have numpy 1.22.0 which is incompatible.
video-ocr 0.0.2 requires Pillow~=9.0.1, but you have pillow 10.2.0 which is incompatible.
video-ocr 0.0.2 requires scipy~=1.8.0, but you have scipy 1.11.3 which is incompatible.
video-ocr 0.0.2 requires tqdm~=4.62.3, but you have tqdm 4.66.2 which is incompatible.

Seems like there are quite a few compatibility issues here. Any idea what's going on? Could we update the dependencies or is there something else we need to do to resolve this?

Cheers!

FlorianEagox commented 8 months ago

I uh... head scratching have a lot to figure out when it comes to solving this problem tbh

Particularly that video OCR package is a bitch to install, you need to have the tesserocr package installed correctly as well as a path to the binary exec. You can remove it if you don't plan to use the experimental video OCR feature

I should have soemthing sometime this week that 'll fix a lot of these issues

fralapo commented 8 months ago

To help you solve any problems I recommend linking this service to the project https://goodfirstissue.dev/

FlorianEagox commented 8 months ago

Ooh interesting, though I have just started working on a more robust build pipeline. Will add it if I can't get clean installs on different machines

fralapo commented 8 months ago

if it's useful to you you can take a look at this project that does something similar to yours: SoniTranslate