[root@ansible dts]# pip3 install pysnoop -i https://mirrors.aliyun.com/pypi/simple
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting pysnoop
Could not find a version that satisfies the requirement pysnoop (from versions: )
No matching distribution found for pysnoop
[root@ansible dts]# pip3 install pysnooper -i https://mirrors.aliyun.com/pypi/simple
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting pysnooper
Downloading https://mirrors.aliyun.com/pypi/packages/a7/b1/a5c75d691ac84a5503e69eac5de97523772c787ba84c3750f6ebb713a36f/PySnooper-1.2.0-py2.py3-none-any.whl
Installing collected packages: pysnooper
Successfully installed pysnooper-1.2.0
@pysnooper.snoop(max_variable_length=1000,depth=4,output="/root/xx.log")
标签:pip3,mirrors,pysnooper,pysnoop,install,root From: https://www.cnblogs.com/a280723148/p/18300393