forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
- Clone repo https://github.com/Azure-Samples/azure-search-openai-demo/
- Open folder in vscode insiders
- Prompt in agent mode
setup python environment using configure python env tool - Will be prompted to create a virtual env, click
continue - You will see an error message about package installation failures
I've create a venv 7 times, and all 7 times i get this error (safe to say it repros 100% of the time)
Here are the errors
2025-07-25 09:51:28.283 [info] DEBUG Checking for Python interpreter at path `/opt/homebrew/bin/python3`
2025-07-25 09:51:28.291 [info] Using CPython
2025-07-25 09:51:28.291 [info] 3.13.5 interpreter at:
2025-07-25 09:51:28.291 [info] /opt/homebrew/opt/[email protected]/bin/python3.13
2025-07-25 09:51:28.291 [info] Creating virtual environment with seed packages at: .venv
2025-07-25 09:51:28.292 [info] DEBUG Using base executable for virtual environment: /opt/homebrew/opt/[email protected]/bin/python3.13
2025-07-25 09:51:28.347 [info] DEBUG Using request timeout of 30s
2025-07-25 09:51:28.351 [info] DEBUG Solving with installed Python version: 3.13.5
DEBUG Solving with target Python version: >=3.13.5
2025-07-25 09:51:28.354 [info] DEBUG Adding direct dependency: pip*
2025-07-25 09:51:28.360 [info] DEBUG Found stale response for: https://pypi.org/simple/pip/
DEBUG Sending revalidation request for: https://pypi.org/simple/pip/
2025-07-25 09:51:28.439 [info] DEBUG Found not-modified response for: https://pypi.org/simple/pip/
2025-07-25 09:51:28.441 [info] DEBUG Searching for a compatible version of pip (*)
2025-07-25 09:51:28.441 [info] DEBUG Selecting: pip==25.1.1 [compatible] (pip-25.1.1-py3-none-any.whl)
2025-07-25 09:51:28.450 [info] DEBUG Found fresh response for: https://files.pythonhosted.org/packages/29/a2/d40fb2460e883eca5199c62cfc2463fd261f760556ae6290f88488c362c0/pip-25.1.1-py3-none-any.whl.metadata
2025-07-25 09:51:28.450 [info] DEBUG Tried 1 versions: pip 1
DEBUG marker environment resolution took 0.098s
2025-07-25 09:51:28.451 [info] DEBUG Installing in pip==25.1.1 in /Users/donjayamanne/temp/azure-search-openai-demo/.venv
2025-07-25 09:51:28.471 [info] DEBUG Registry requirement already cached: pip==25.1.1
2025-07-25 09:51:28.471 [info] DEBUG Installing build requirement: pip==25.1.1
2025-07-25 09:51:28.572 [info] + pip==25.1.1
2025-07-25 09:51:28.572 [info] Activate with: source .venv/bin/activate
2025-07-25 09:51:28.671 [info] Resolved Python Environment /Users/donjayamanne/temp/azure-search-openai-demo/.venv/bin/python
2025-07-25 09:51:28.676 [info] Running: uv pip install --python /Users/donjayamanne/temp/azure-search-openai-demo/.venv/bin/python -r /Users/donjayamanne/temp/azure-search-openai-demo/app/backend/requirements.txt -r /Users/donjayamanne/temp/azure-search-openai-demo/evals/requirements.txt -r /Users/donjayamanne/temp/azure-search-openai-demo/requirements-dev.txt
2025-07-25 09:51:29.938 [info] Using Python 3.13.5 environment at: /Users/donjayamanne/temp/azure-search-openai-demo/.venv
2025-07-25 09:51:32.482 [info] × No solution found when resolving dependencies:
╰─▶ Because azure-ai-evaluation==1.7.0 depends on openai>=1.78.0 and
evaltools==0.1.1 depends on azure-ai-evaluation==1.7.0, we can conclude
that evaltools==0.1.1 depends on openai>=1.78.0.
And because only evaltools==0.1.1 is available, we can conclude that all
versions of evaltools depend on openai>=1.78.0.
And because you require openai==1.63.0 and evaltools, we can conclude
that your requirements are unsatisfiable.
2025-07-25 09:51:32.490 [error] Error managing packages Failed to run uv pip install --python /Users/donjayamanne/temp/azure-search-openai-demo/.venv/bin/python -r /Users/donjayamanne/temp/azure-search-openai-demo/app/backend/requirements.txt -r /Users/donjayamanne/temp/azure-search-openai-demo/evals/requirements.txt -r /Users/donjayamanne/temp/azure-search-openai-demo/requirements-dev.txt
2025-07-25 09:51:32.507 [error] Failed to create .gitignore in venv: ENOTDIR: not a directory, open '/Users/donjayamanne/temp/azure-search-openai-demo/.venv/bin/python/.gitignore'
2025-07-25 09:51:32.518 [info] Resolved Python Environment /opt/homebrew/bin/python3
2025-07-25 09:51:32.526 [info] Resolved Python Environment /opt/homebrew/bin/python3
2025-07-25 09:51:32.540 [info] Python API: Changed environment from Python 3.13.5 (homebrew) to .venv (3.13.5) for: /Users/donjayamanne/temp/azure-search-openai-demo
2025-07-25 09:51:32.540 [info] Internal: Changed environment from Python 3.13.5 (homebrew) to .venv (3.13.5) for: /Users/donjayamanne/temp/azure-search-openai-demo
2025-07-25 09:51:32.581 [info] Resolved Python Environment /opt/homebrew/bin/python3
2025-07-25 09:51:32.682 [info] Resolved Python Environment /Users/donjayamanne/demo/.venv/bin/python
2025-07-25 09:51:32.777 [info] Resolved Python Environment /opt/homebrew/bin/python3
2025-07-25 09:51:32.792 [info] Resolved Python Environment /opt/homebrew/bin/python3
2025-07-25 09:51:32.797 [info] Resolved Python Environment /opt/homebrew/bin/python3
2025-07-25 09:51:32.801 [info] Resolved Python Environment /opt/homebrew/bin/python3
2025-07-25 09:51:32.806 [info] Resolved Python Environment /opt/homebrew/bin/python3
2025-07-25 09:51:32.815 [info] Resolved Python Environment /opt/homebrew/bin/python3
2025-07-25 09:51:32.823 [info] Resolved Python Environment /opt/homebrew/bin/python3
2025-07-25 09:51:35.749 [info] Running: uv pip list --python /Users/donjayamanne/temp/azure-search-openai-demo/.venv/bin/python
2025-07-25 09:51:35.760 [info] Using Python 3.13.5 environment at: /Users/donjayamanne/temp/azure-search-openai-demo/.venv
2025-07-25 09:51:35.760 [info] Package Version
------- -------
pip 25.1.1
Metadata
Metadata
Assignees
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team