This PR addresses the problem of the inability to install any Python packages on the running node.
What I've done:
Added virtual env with --system-site-packages option to the image
Added auto venv activation in .bashrc (used by ray, as it uses ssh everywhere)
Added /root/.local/bin in PATH to stop pip complaining about not being in the path.
Removed leftover debug params from #238
Notable remarks:
Keeping venv on golem volume has some speed penalty, but it's an acceptable workaround until golem receives more rich functionality about volumes and file system on the runtime.
This PR addresses the problem of the inability to install any Python packages on the running node.
What I've done:
--system-site-packages
option to the image.bashrc
(used by ray, as it uses ssh everywhere)/root/.local/bin
inPATH
to stop pip complaining about not being in the path.Notable remarks: