[英]I'm trying to figure out how to install this lib on python (time)
im new to python and i was trying to install "time" library on python, i typed pip install time but the compiler said this我是 python 的新手,我试图在 python 上安装“时间”库,我输入了 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
i dont know how to resolve, can anyone help me?我不知道如何解决,有人可以帮助我吗? please be the more simple u can cause im not too good in py, as i said im new, thx to everyone!
请变得更简单,你会导致我在 py 中不太好,正如我所说的,我是新手,谢谢大家!
PS the py version is 3.6 PS py版本是3.6
thx everyone, im stupid xd谢谢大家,我很傻xd
Time is a module that comes built-in with python so no need to install anything, just import it: Time 是 python 内置的一个模块,所以不需要安装任何东西,只需导入它:
import time
Time is part of the default preinstalled libraries so you shouldn't have to install it. Time 是默认预安装库的一部分,因此您不必安装它。 just use:
只需使用:
import time
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.