python pytz怎么安装

1、进入官网:https://pypi.org/project/pytz/#files

49d6db75aae971cdfe91aa636fb79dd.png

2、选择.whl文件进行下载。

3、输入pip install .whl文件名,进行安装。

e60354127fcb330a2624df7b34c1a16.png

4、通过from pytz import timezone导入模块,即可使用。

猜你喜欢

转载自blog.csdn.net/hakesashou/article/details/143272272