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

Issue in installing MLRun locally on windows #2464

Closed
ganesh3 opened this issue Oct 2, 2022 · 6 comments
Closed

Issue in installing MLRun locally on windows #2464

ganesh3 opened this issue Oct 2, 2022 · 6 comments

Comments

@ganesh3
Copy link

ganesh3 commented Oct 2, 2022

Hi,

I am following instructions to install MLRun locally on Windows 10 as described in page /install/local-docker.html with jupyter image.

set HOST_IP=localhost
set SHARED_DIR=D:\MLRun
mkdir %SHARED_DIR%
docker-compose -f compose.with-jupyter.yaml up results in below error.

invalid interpolation format for services.jupyter.volumes.[].
You may need to escape any $ with another $.
required variable SHARED_DIR is missing a value: err

@Tankilevitch
Copy link
Contributor

Hey @ganesh3 nice to meet you!

seems like for some reason the docker-compose isn't able to find SHARED_DIR environment variable.
can you please provide the following:
echo %SHARED_DIR%?

@ganesh3
Copy link
Author

ganesh3 commented Oct 4, 2022

Getting the below response even after setting the SHARED_DIR on terminal.

(base) PS D:\MLRun> echo %SHARED_DIR%
%SHARED_DIR%

@Tankilevitch
Copy link
Contributor

So it did catched the %SHARED_DIR% when creating the directory, but didn't catch it when running the docker-compose correct?

Are you using powershell? It is different from windows.
Did you run it all as one command or separated?

@ganesh3
Copy link
Author

ganesh3 commented Oct 4, 2022

Yes, that's correct. I am running it on Windows Terminal.

@Tankilevitch
Copy link
Contributor

I am not sure why setting the environment variable isn't working for you.
But for now just to continue to work you can edit the compose file and replace all occurrences of ${SHARED_DIR:?err} with D:\MLRunthat should do the work.

@Tankilevitch
Copy link
Contributor

Closing for now, @ganesh3 feel free to open back if you experience any issues regarding running the docker-compose command.

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

No branches or pull requests

2 participants