我想弄清楚如何在 python(时间)上安装这个库
I'm trying to figure out how to install this lib on python (time)
我是 python 的新手,我试图在 python 上安装“time”库,我输入了
pip 安装时间
但是编译器说这个
C:\Users\Giuseppe\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.6>pip install time ERROR: Could not find a version that satisfies the requirement time (from versions: none) ERROR: No matching distribution found for time
我不知道怎么解决,谁能帮帮我?请越简单越好,因为我在 py 方面不太好,正如我所说的,我是新手,谢谢大家!
P.S。
py 版本是 3.6
谢谢大家,我很笨xd
Time 是 python 内置的模块,因此无需安装任何东西,只需导入即可:
import time
Time 是默认预安装库的一部分,因此您不必安装它。
只需使用:
import time
这应该已经回答了 here。
由于时间是 Python 标准库的一部分,因此您不需要也不能通过 pip 安装它。
我是 python 的新手,我试图在 python 上安装“time”库,我输入了 pip 安装时间 但是编译器说这个
C:\Users\Giuseppe\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.6>pip install time ERROR: Could not find a version that satisfies the requirement time (from versions: none) ERROR: No matching distribution found for time
我不知道怎么解决,谁能帮帮我?请越简单越好,因为我在 py 方面不太好,正如我所说的,我是新手,谢谢大家!
P.S。 py 版本是 3.6
谢谢大家,我很笨xd
Time 是 python 内置的模块,因此无需安装任何东西,只需导入即可:
import time
Time 是默认预安装库的一部分,因此您不必安装它。 只需使用:
import time
这应该已经回答了 here。
由于时间是 Python 标准库的一部分,因此您不需要也不能通过 pip 安装它。