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

Fixed the environment.yml file #700

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

predator4hack
Copy link

@predator4hack predator4hack commented Mar 6, 2025

Solves the issue #696

Issue

I faced a error while following startup guide, azure-ai-ml could not be installed with the following error message:

PackagesNotFoundError: The following packages are not available from current channels:
microsoft==azure-ai-ml

Root Cause

The current environment.yml file has incorrect syntax for specifying the Microsoft package. The file currently uses:

name: <environment-name>
channels:
 - defaults
dependencies:
- python=<python-version>
- openai
- python-dotenv
- microsoft azure-ai-ml

The issue is with microsoft azure-ai-ml. This isn't valid conda syntax and is likely trying to combine the channel and package name incorrectly.

Solution

I've updated the environment.yml file to properly install the azure-ai-ml package through pip, which is the recommended approach for this package:

name: <environment-name>
channels:
  - defaults
  - microsoft
dependencies:
  - python=<python-version>
  - openai
  - python-dotenv
  - pip
  - pip:
      - azure-ai-ml

This approach correctly adds the Microsoft channel and uses pip to install the azure-ai-ml package, which resolves the installation error.

Testing

I've verified that this updated configuration successfully creates the environment without the PackagesNotFoundError.

Copy link

github-actions bot commented Mar 6, 2025

👋 Thanks for contributing @predator4hack! We will review the pull request and get back to you soon.

Copy link

github-actions bot commented Mar 6, 2025

Check Broken URLs

We have automatically detected the following broken URLs in your files. Review and fix the paths to resolve this issue.

Check the file paths and associated broken URLs inside them.
For more details, check our Contributing Guide.

File Full Path Issues
18-fine-tuning/RESOURCES.md
#LinkLine Number
1https://twitter.com/abhi1thakur/status/1755167674894557291?WT.mc_id=academic-105485-koreyst36
2https://twitter.com/abhi1thakur/status/1750828141805777057?WT.mc_id=academic-105485-koreyst36
18-fine-tuning/translations/tw/RESOURCES.md
#LinkLine Number
1https://twitter.com/abhi1thakur/status/1755167674894557291?WT.mc_id=academic-105485-koreyst36
2https://twitter.com/abhi1thakur/status/1750828141805777057?WT.mc_id=academic-105485-koreyst36
19-slm/README.md
#LinkLine Number
1https://github.com/microsoft/Phi-3CookBook/blob/main/md/02.QuickStart/AzureAIStudio_QuickStart.md?WT.mc_id=academic-105485-koreyst151
19-slm/translations/ko/README.md
#LinkLine Number
1https://github.com/microsoft/Phi-3CookBook/blob/main/md/02.QuickStart/AzureAIStudio_QuickStart.md?WT.mc_id=academic-105485-koreyst148
09-building-image-applications/README.md
#LinkLine Number
1https://towardsdatascience.com/openais-dall-e-and-clip-101-a-brief-introduction-3a4367280d4e?WT.mc_id=academic-105485-koreyst51
09-building-image-applications/python/aoai-assignment.ipynb
#LinkLine Number
1https://towardsdatascience.com/openais-dall-e-and-clip-101-a-brief-introduction-3a4367280d4e?WT.mc_id=academic-105485-koreyst55
09-building-image-applications/python/oai-assignment.ipynb
#LinkLine Number
1https://towardsdatascience.com/openais-dall-e-and-clip-101-a-brief-introduction-3a4367280d4e?WT.mc_id=academic-105485-koreyst55
09-building-image-applications/translations/ko/README.md
#LinkLine Number
1https://towardsdatascience.com/openais-dall-e-and-clip-101-a-brief-introduction-3a4367280d4e?WT.mc_id=academic-105485-koreyst51
09-building-image-applications/translations/tw/README.md
#LinkLine Number
1https://towardsdatascience.com/openais-dall-e-and-clip-101-a-brief-introduction-3a4367280d4e?WT.mc_id=academic-105485-koreyst51
09-building-image-applications/translations/ja-jp/README.md
#LinkLine Number
1https://towardsdatascience.com/openais-dall-e-and-clip-101-a-brief-introduction-3a4367280d4e?WT.mc_id=academic-105485-yoterada51
09-building-image-applications/translations/pt-br/README.md
#LinkLine Number
1https://towardsdatascience.com/openais-dall-e-and-clip-101-a-brief-introduction-3a4367280d4e?WT.mc_id=academic-105485-koreyst85

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

Successfully merging this pull request may close these issues.

2 participants