Open Pancat007 opened 1 year ago
E.g. Manaully Run:
Set-Location ./backend/backend_env .\Scripts\Activate.ps1
pip install azure-identity quart quart-cors openai[datalib] tiktoken azure-search-documents==11.4.0b6 azure-storage-blob uvicorn[standard] aiohttp azure-monitor-opentelemetry opentelemetry-instrumentation-asgi opentelemetry-instrumentation-requests opentelemetry-instrumentation-aiohttp-client msal msal-extensions
Not sure if there is a right way to solve this issue
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.
I also had an issue with quart and had the following error when trying to run the project locally: C:\Users\ ... \app\backend\backend_env\scripts\python.exe: No module named quart
Turned out that I had a build error due to missing build tools (on Windows 10 btw)
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for multidict Failed to build frozenlist multidict ERROR: Could not build wheels for frozenlist, multidict, which is required to install pyproject.toml-based projects
This is because quart depends on aiohttps and because aiohttps depends on multidict
After installing the Build tools everything worked fine
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
F:\OpenAI\Code\azure-search-openai\app\backend\backend_env\scripts\python.exe: No module named quart
OS and Version?
azd version?
Versions
Mention any other details that might be useful
And i have tried to get into the venv in folder /app/backend/venv and manually run the pip install , it seems might work