WeeaBlind icon indicating copy to clipboard operation
WeeaBlind copied to clipboard

Dependency conflicts during installation of project dependencies

Open fralapo opened this issue 11 months ago • 4 comments

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!

fralapo avatar Mar 06 '24 14:03 fralapo

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

FlorianEagox avatar Mar 06 '24 22:03 FlorianEagox

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

fralapo avatar Mar 07 '24 09:03 fralapo

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

FlorianEagox avatar Mar 11 '24 22:03 FlorianEagox

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

fralapo avatar Mar 13 '24 13:03 fralapo