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

Dependency conflicts during installation of project dependencies #19

Open
fralapo opened this issue Mar 6, 2024 · 4 comments
Open

Dependency conflicts during installation of project dependencies #19

fralapo opened this issue Mar 6, 2024 · 4 comments

Comments

@fralapo
Copy link

fralapo commented Mar 6, 2024

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
Copy link
Owner

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
Copy link
Author

fralapo commented Mar 7, 2024

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

@FlorianEagox
Copy link
Owner

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
Copy link
Author

fralapo commented Mar 13, 2024

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

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

2 participants