You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
azd deploy and azd up
Any log messages given by the failure
from azure.identity.aio import AzureDeveloperCliCredential, get_bearer_token_provider
Expected/desired behavior
Running "prepdocs.py"
./app/backend/prepdocs.py "C:\Users\alopezmoreno\OneDrive - Microsoft\Desktop\acceleratorAI\azure-search-openai-demo/data/*" --verbose
Traceback (most recent call last):
File "C:\Users\alopezmoreno\OneDrive - Microsoft\Desktop\acceleratorAI\azure-search-openai-demo\app\backend\prepdocs.py", line 9, in
from azure.identity.aio import AzureDeveloperCliCredential, get_bearer_token_provider
File "C:\Users\alopezmoreno\OneDrive - Microsoft\Desktop\acceleratorAI\azure-search-openai-demo.venv\lib\site-packages\azure\identity_init_.py", line 10, in
from .credentials import (
File "C:\Users\alopezmoreno\OneDrive - Microsoft\Desktop\acceleratorAI\azure-search-openai-demo.venv\lib\site-packages\azure\identity_credentials_init.py", line 5, in
from .authorization_code import AuthorizationCodeCredential
File "C:\Users\alopezmoreno\OneDrive - Microsoft\Desktop\acceleratorAI\azure-search-openai-demo.venv\lib\site-packages\azure\identity_credentials\authorization_code.py", line 9, in
from ..internal.aad_client import AadClient
File "C:\Users\alopezmoreno\OneDrive - Microsoft\Desktop\acceleratorAI\azure-search-openai-demo.venv\lib\site-packages\azure\identity_internal_init.py", line 5, in
from .aad_client import AadClient
File "C:\Users\alopezmoreno\OneDrive - Microsoft\Desktop\acceleratorAI\azure-search-openai-demo.venv\lib\site-packages\azure\identity_internal\aad_client.py", line 11, in
from .aad_client_base import AadClientBase
File "C:\Users\alopezmoreno\OneDrive - Microsoft\Desktop\acceleratorAI\azure-search-openai-demo.venv\lib\site-packages\azure\identity_internal\aad_client_base.py", line 20, in
from .aadclient_certificate import AadClientCertificate
File "C:\Users\alopezmoreno\OneDrive - Microsoft\Desktop\acceleratorAI\azure-search-openai-demo.venv\lib\site-packages\azure\identity_internal\aadclient_certificate.py", line 7, in
from cryptography import x509
File "C:\Users\alopezmoreno\OneDrive - Microsoft\Desktop\acceleratorAI\azure-search-openai-demo.venv\lib\site-packages\cryptography\x509_init_.py", line 7, in
from cryptography.x509 import certificate_transparency, verification
File "C:\Users\alopezmoreno\OneDrive - Microsoft\Desktop\acceleratorAI\azure-search-openai-demo.venv\lib\site-packages\cryptography\x509\certificate_transparency.py", line 11, in
from cryptography.hazmat.bindings._rust import x509 as rust_x509
ImportError: DLL load failed while importing _rust: The specified procedure could not be found.
OS and Version?
Windows 11 Enterprise
azd version?
run azd version and copy paste here.
azd version 1.10.3
Versions
Python 3.11.10
Mention any other details that might be useful
Thanks! We'll be in touch soon.
The text was updated successfully, but these errors were encountered:
That error usually indicated that you created a venv outside the devcontainer and then tried to use it inside the devcontainer, or vice versa. (Mismatch in the OS used in the venv)
Can you remove the venv folder entirely and try again?
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
azd version?
Versions
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: