Open esghif opened 7 months ago
I was able to circumvent this issue by doing the following in the Dockerfile:
RUN modular auth $AUTH_KEY \
&& modular install mojo; \
exit 0
RUN rm /root/.modular/pkg/packages.modular.com_mojo/lib/liblldb.so \
/root/.modular/pkg/packages.modular.com_mojo/lib/libMojoJupyter.so \
/root/.modular/pkg/packages.modular.com_mojo/lib/liblldb.so.18git \
/root/.modular/pkg/packages.modular.com_mojo/lib/libKGENCompilerRTShared.so \
/root/.modular/pkg/packages.modular.com_mojo/lib/libMojoLLDB.so \
/root/.modular/pkg/packages.modular.com_mojo/lib/libLLCLRuntimeGlobals.so \
/root/.modular/pkg/packages.modular.com_mojo/lib/libMSupportGlobals.so
RUN . /root/.modular/pkg/packages.modular.com_mojo/venv/bin/activate \
&& pip install -r /root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/requirements.txt \
&& deactivate
RUN modular install mojo
A nicer solution would be preferable 😉
Yup, modular install
seems to ignore https_proxy
settings etc.
Thank you for the workaround. It has helped.
Issue description
modular install mojo
yields:find_libpython does not exist in the venv installed by modular. It can be installed by pip which correctly uses environment variables
http_proxy
andhttps_proxy
. AFAICT the installation process tries to install using python urllib3 library which does not use the proxy environment variables.Steps to reproduce
Version Info