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

Dependencies version conflict #2

Open
Garito opened this issue Jan 9, 2024 · 1 comment
Open

Dependencies version conflict #2

Garito opened this issue Jan 9, 2024 · 1 comment

Comments

@Garito
Copy link

Garito commented Jan 9, 2024

Hi
I'm trying to use this library with docker but this error raises on the installation process:

#8 39.21 The conflict is caused by:
#8 39.21     The user requested numpy==1.16.6
#8 39.21     kraken 2.0.8 depends on numpy
#8 39.21     langid 1.1.6 depends on numpy
#8 39.21     opencv-python 4.4.0.42 depends on numpy>=1.17.3

This is my Docker file for reference:

FROM python:3.8.5

RUN apt-get update

RUN apt-get -y install libhunspell-dev
RUN apt-get -y install libgl1-mesa-glx

RUN pip install --upgrade pip

RUN git clone https://github.com/natliblux/nautilusocr
WORKDIR ./nautilusocr
RUN pip3 install -r requirements.txt

How can I solve the issue?
It is safe to pump up numpy's version?

Thanks

@Schneipi
Copy link
Collaborator

Hi, sorry for the late response.

Yes, please try to use numpy 1.17.3, that should not cause any problems.

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