Closed dstkibrom closed 1 year ago
Oops, we diagnosed this in a discussion earlier but never actioned it. >_< I didn't realise until now that there isn't a matching bug report.
The proposed fix is to change our CUDA base image to a supported image (the current one is EOL'd), per https://github.com/adamrehn/ue4-docker/discussions/294#discussioncomment-4778592. In the meantime, your existing workaround is viable. If you need cuda.list
to be functional, instead of deleting it, this apparently works:
RUN [ ! -e /etc/apt/sources.list.d/nvidia-ml.list ] \
|| rm /etc/apt/sources.list.d/nvidia-ml.list
RUN apt-key del 7fa2af80 \
&& apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
As far as running from source, there's no specific documentation because it's done in a Python-standard way: Something like pip install .
should work to install it from source (it'll build a package/wheel locally and then install it like a downloaded package). "Something like" here is because your local environment and use of venvs will determine if that's pip
, pip3
, python3 -m pip
, python -m pip
, etc. You'll probably also want the --user
flag if you're not trying to do a system-wide install, and you're not inside a venv.
If you pip install --editable .
then if you meet the requirements, you'll get an "editable" install, and hence your source checkout edits will be seen by the installed package, rather than having to reinstall it after each change. (In effect, the "install" is just a link back to your source checkout, so if you delete the checkout, editable install breaks.)
I believe this is fixed by https://github.com/adamrehn/ue4-docker/pull/315
Output of the
ue4-docker info
command:Additional details:
I am trying to use ue4-docker to run a simulator called AirSim. The command that i need to build is:
when running the above command, I get the following error:
I know the work around for this error in my workstation. I just need to add the following to my docker file and it will run without problem. I got stumbled to this solution when I was trying to address similar issue in a case not related to ue4-docker.
To add the above two lines to a docker file of ue4-docker, i need to build ue4-docker from source but there seems tobe no resource explaining on how users can install ue4-docker from source. Is there any resource explaning how to install ue4-docker from source or would you suggest a solution to the problem that I am having while building ue4-docker?