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

While installing via dockerfile, at line "RUN python3 -m pip install -r requirements.txt" there was error. #162

Closed
aoe1928 opened this issue May 19, 2021 · 3 comments · May be fixed by #163

Comments

@aoe1928
Copy link

aoe1928 commented May 19, 2021

While installing via dockerfile, at line RUN python3 -m pip install -r requirements.txt there was error, "No module named 'setuptools_rust'" and the installation stopped.
I addedRUN python3 -m pip install --upgrade pip and it worked. I think if the pip libraries were too old, you can't install.

@Jarekwidzew77
Copy link

I addedRUN python3 -m pip install --upgrade pip

Hello . where should i add this line to avoid this issue

@aoe1928
Copy link
Author

aoe1928 commented Jun 29, 2021

Change the 49th line of the Dockerfile

WORKDIR /opt/patator
COPY ./requirements.txt ./
RUN python3 -m pip install -r requirements.txt

to

WORKDIR /opt/patator
COPY ./requirements.txt ./
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install -r requirements.txt

and it should work.

@Jarekwidzew77
Copy link

Thank you so much .Its working !!!!. Thank you again.

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

Successfully merging a pull request may close this issue.

2 participants