-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Got errors when try deploy to azure from azure VM "No matching distribution found for azure-keyvault==1.0.0a1" #14752
Comments
Hello, I have the same problem. Were you able to solve it? |
Describe the bug
I created an azure VM. Cloned the algo repo, install all dependencies, from python virtual environment. When running the ./algo script, got error message as following: (formated for more readable)
TASK [cloud-azure : Install requirements] ***********************************************
fatal: [localhost]: FAILED! => {
"changed": false,
"cmd": ["/home/azureuser/.venv/bin/python3", "-m", "pip", "main.py", "install", "-r", "https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt"],
"msg": "stdout:
Requirement already satisfied: packaging in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 3)) (20.2)
Requirement already satisfied: msrest in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 3)) (0.6.21)
Requirement already satisfied: msrestazure in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 3)) (0.6.4)
Requirement already satisfied: azure-identity==1.7.0 in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 7)) (1.7.0)
Requirement already satisfied: azure-mgmt-batch==16.0.0 in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 9)) (16.0.0)
Requirement already satisfied: azure-mgmt-cdn==11.0.0 in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 10)) (11.0.0)
Requirement already satisfied: azure-mgmt-compute==26.0.0 in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 12)) (26.0.0)
Requirement already satisfied: azure-mgmt-containerinstance==11.0.0 in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 13)) (11.0.0)
Requirement already satisfied: azure-mgmt-containerservice==20.0.0 in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 14)) (20.0.0)
Requirement already satisfied: azure-mgmt-core==1.3.0 in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 15)) (1.3.0)
Requirement already satisfied: azure-mgmt-databox==2.0.0 in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 16)) (2.0.0)
Requirement already satisfied: azure-mgmt-datalakeanalytics==0.11.0 in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 17)) (0.11.0)
Requirement already satisfied: azure-mgmt-datalake-store==0.11.0 in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 18)) (0.11.0)
Requirement already satisfied: azure-mgmt-datamigration==10.0.0 in /home/azureuser/.venv/lib/python3.8/site-packages (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 19)) (10.0.0)
Collecting azure-keyvault==1.0.0a1 (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 39))
Using cached azure_keyvault-1.0.0a1-py2.py3-none-any.whl.metadata (4.9 kB)
:stderr: WARNING: Ignoring version 1.0.0a1 of azure-keyvault since it has invalid metadata:
Requested azure-keyvault==1.0.0a1 from https://files.pythonhosted.org/packages/03/f3/fe18493d4ce781368f23d05701a8203344fdc15dbf9cfee4450652776d1a/azure_keyvault-1.0.0a1-py2.py3-none-any.whl (from -r https://raw.githubusercontent.com/ansible-collections/azure/v1.13.0/requirements-azure.txt (line 39)) has invalid metadata: Expected matching RIGHT_PARENTHESIS for LEFT_PARENTHESIS, after version specifier
msrest (>=0.4.17azure-common~=1.1.5)
~~~~~~~~~~^
Please use pip<24.1 if you need to use this version.
ERROR: Ignored the following versions that require a different python version: 3.0.0 Requires-Python <3
ERROR: Could not find a version that satisfies the requirement azure-keyvault==1.0.0a1 (from versions: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 1.0.0a1, 1.0.0b1, 1.0.0, 1.1.0, 4.0.0, 4.1.0, 4.2.0)
ERROR: No matching distribution found for azure-keyvault==1.0.0a1"
}
To Reproduce
Steps to reproduce the behavior:
Expected behavior
after answering all prompt questions, it got successful deployment
Additional context
Add any other context about the problem here.
Full log
The text was updated successfully, but these errors were encountered: