Closed GabauerDavid closed 2 years ago
Changing the working directory multiple times solved the issue.
FROM nvcr.io/nvidia/pytorch:20.07-py3
# add current folder where Dockerfile and requirements are located to workspace
WORKDIR /workspace
ADD . /workspace
ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/London"
RUN apt-get update && apt-get install -qy libsm6 libxext6 libxrender-dev python3-tk apt-utils openmpi-bin liblzma-dev libfreetype6 libpng16-16
ENV CUDA_HOME="/usr/local/cuda"
# update pip
RUN pip install --upgrade pip
# Install Python dependencies
RUN git clone https://github.com/cherubicXN/hawp.git
RUN pip install -r /workspace/hawp/requirement.txt
WORKDIR /workspace/hawp
RUN conda develop .
RUN python setup.py build_ext --inplace
WORKDIR /workspace
RUN chmod 777 . -R
# Clean up APT when done.
RUN apt-get clean
Hi,how do you solve this problem.I encounder the same problem. Thank you.
Hi, Thanks a lot for your contribution. Unfortunately, I receive the following error message: error: could not create 'parsing/_C.cpython-36m-x86_64-linux-gnu.so': No such file or directory
Dockerfile:
Details:
I sincerely hope that you can help me out.