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

Customize Compute Instance Script Example Not Working #3291

Closed
moirarenata opened this issue Jul 16, 2024 · 1 comment · Fixed by #3321
Closed

Customize Compute Instance Script Example Not Working #3291

moirarenata opened this issue Jul 16, 2024 · 1 comment · Fixed by #3321
Labels

Comments

@moirarenata
Copy link

Operating System

Windows

Version Information

azure-cli: 2.59.0
azure-cli-core: 2.59.0
azure-cli-telemetry: 1.1.0
extensions:
ml: 2.26.1

Steps to reproduce

Followed the steps to create a customized compute instance here and used the example creation script.

Expected behavior

Create a working compute instance with the 'envname' environment and have the numpy package installed within that environment

Actual behavior

Compute instance creation succeeded but the commands in the creation script did not run properly. Got a "conda: command not found" in the logs.

Addition information

No response

@lucasfijen
Copy link
Contributor

I was running into the same issue, adding source /anaconda/etc/profile.d/conda.sh in the script before the firsttime you call conda should fix it.

I created a PR for this bug #3321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants