连环bug:Could not find a version that satisfies the requirement Unzip (from versions: none)

(base) [ec2-user@ip- CogQA]$ pip install Unzip
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip canbe found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement Unzip (from versions: none)
ERROR: No matching distribution found for Unzip
(base) [ec2-user@ip- CogQA]$ apt install zip
-bash: apt: command not found
(base) [ec2-user@ip- CogQA]$ yum install -y unzip zip
Loaded plugins: dkms-build-requires, priorities, update-motd, upgrade-helper
You need to be root to perform this command.
(base) [ec2-user@ip- CogQA]$

猜你喜欢

转载自blog.csdn.net/weixin_40945354/article/details/107736317