I am trying to install azure-cli on centos 7 box. I am getting this error repeatedly
Error: Package: azure-cli-2.0.80-1.el7.x86_64 (azure-cli) Requires: libpython3.6m.so.1.0()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
I tried to execute both commands but none of these worked for me.
Acturally, Azure CLI requires python3, it's even an executable Python package azure-cli which you can find in PyPI.org. So please make sure there is a Python 3 runtime installed in your CentOS 7.
If you want to fix your issue manually, you can try to download and install the related rpm package for Libpython3.6m.so.1.0()(64bit) from https://pkgs.org/download/libpython3.6m.so.1.0()(64bit), as the figure below.

However, the best way is to follow the offical tutorial Install Azure CLI with yum to install it in CentOS 7.
Otherwise, the other solution is as below to directly install its python package via pip.
python3 -V or python -V to see the Python version or system will remind you to install it.pip or pip3 command for Python 3 runtime had been installed via pip3 -V or pip -V to see the pip version or system will remind you to install it.azure-cli via command sudo pip3 install azure-cli or sudo pip install azure-cli, it will help to install azure-cli to the system path, then you can try to use it via az --version.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With