简体   繁体   中英

Ubuntu 18, Install azure-cli 2.0.81

I am trying to install azure cli old version I got fresh ubuntu 18 or 20 i tried both. [![enter image description here][1]][1]

pip install azure-cli==2.0.81

Its not working. I tried multiple OS with 18,20 ubuntu.

Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-UhSu0K/antlr4-python2-runtime/setup.py", line 13 description=f'ANTLR {v} runtime for Python 2.7.12' ^ SyntaxError: invalid syntax

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-UhSu0K/antlr4-python2-runtime/

Below solution Worked, I am using python 3.7.5 and it works.

python3 -m pip install "package"

THank you,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM