久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<legend id='Fokvh'><style id='Fokvh'><dir id='Fokvh'><q id='Fokvh'></q></dir></style></legend>

    1. <i id='Fokvh'><tr id='Fokvh'><dt id='Fokvh'><q id='Fokvh'><span id='Fokvh'><b id='Fokvh'><form id='Fokvh'><ins id='Fokvh'></ins><ul id='Fokvh'></ul><sub id='Fokvh'></sub></form><legend id='Fokvh'></legend><bdo id='Fokvh'><pre id='Fokvh'><center id='Fokvh'></center></pre></bdo></b><th id='Fokvh'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Fokvh'><tfoot id='Fokvh'></tfoot><dl id='Fokvh'><fieldset id='Fokvh'></fieldset></dl></div>

    2. <tfoot id='Fokvh'></tfoot>
      • <bdo id='Fokvh'></bdo><ul id='Fokvh'></ul>

      <small id='Fokvh'></small><noframes id='Fokvh'>

      查看何時使用 pip 安裝/更新軟件包

      See when packages were installed / updated using pip(查看何時使用 pip 安裝/更新軟件包)

          <tbody id='o1639'></tbody>
          • <bdo id='o1639'></bdo><ul id='o1639'></ul>
          • <small id='o1639'></small><noframes id='o1639'>

          • <tfoot id='o1639'></tfoot>
            <i id='o1639'><tr id='o1639'><dt id='o1639'><q id='o1639'><span id='o1639'><b id='o1639'><form id='o1639'><ins id='o1639'></ins><ul id='o1639'></ul><sub id='o1639'></sub></form><legend id='o1639'></legend><bdo id='o1639'><pre id='o1639'><center id='o1639'></center></pre></bdo></b><th id='o1639'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='o1639'><tfoot id='o1639'></tfoot><dl id='o1639'><fieldset id='o1639'></fieldset></dl></div>

                <legend id='o1639'><style id='o1639'><dir id='o1639'><q id='o1639'></q></dir></style></legend>
                本文介紹了查看何時使用 pip 安裝/更新軟件包的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我知道如何使用 pip 查看已安裝的 Python 包,只需使用 pip freeze.但是有什么方法可以查看使用 pip 安裝或更新包的日期和時間?

                I know how to see installed Python packages using pip, just use pip freeze. But is there any way to see the date and time when package is installed or updated with pip?

                推薦答案

                如果不需要區分更新和安裝,可以使用包文件的更改時間.

                If it's not necessary to differ between updated and installed, you can use the change time of the package file.

                就像 Python 2 一樣,帶有 pip <10:

                Like that for Python 2 with pip < 10:

                import pip, os, time
                
                for package in pip.get_installed_distributions():
                     print "%s: %s" % (package, time.ctime(os.path.getctime(package.location)))
                

                或類似的更新版本(使用 Python 3.7 測試并安裝了帶有 pkg_resources 的 setuptools 40.8):

                or like that for newer versions (tested with Python 3.7 and installed setuptools 40.8 which bring pkg_resources):

                import pkg_resources, os, time
                
                for package in pkg_resources.working_set:
                    print("%s: %s" % (package, time.ctime(os.path.getctime(package.location))))
                

                在這兩種情況下,輸出都將類似于 numpy 1.12.1: Tue Feb 12 21:36:37 2019.

                an output will look like numpy 1.12.1: Tue Feb 12 21:36:37 2019 in both cases.

                順便說一句:您可以使用 pip list 而不是使用 pip freeze,它能夠提供更多信息,例如通過 pip list -o.

                Btw: Instead of using pip freeze you can use pip list which is able to provide some more information, like outdated packages via pip list -o.

                這篇關于查看何時使用 pip 安裝/更新軟件包的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                python: Two modules and classes with the same name under different packages(python:不同包下同名的兩個模塊和類)
                Configuring Python to use additional locations for site-packages(配置 Python 以使用站點包的其他位置)
                How to structure python packages without repeating top level name for import(如何在不重復導入頂級名稱的情況下構造python包)
                Install python packages on OpenShift(在 OpenShift 上安裝 python 包)
                How to refresh sys.path?(如何刷新 sys.path?)
                Distribute a Python package with a compiled dynamic shared library(分發帶有已編譯動態共享庫的 Python 包)
                • <bdo id='Eyi8N'></bdo><ul id='Eyi8N'></ul>
                  <legend id='Eyi8N'><style id='Eyi8N'><dir id='Eyi8N'><q id='Eyi8N'></q></dir></style></legend>
                  1. <i id='Eyi8N'><tr id='Eyi8N'><dt id='Eyi8N'><q id='Eyi8N'><span id='Eyi8N'><b id='Eyi8N'><form id='Eyi8N'><ins id='Eyi8N'></ins><ul id='Eyi8N'></ul><sub id='Eyi8N'></sub></form><legend id='Eyi8N'></legend><bdo id='Eyi8N'><pre id='Eyi8N'><center id='Eyi8N'></center></pre></bdo></b><th id='Eyi8N'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Eyi8N'><tfoot id='Eyi8N'></tfoot><dl id='Eyi8N'><fieldset id='Eyi8N'></fieldset></dl></div>
                    <tfoot id='Eyi8N'></tfoot>

                    • <small id='Eyi8N'></small><noframes id='Eyi8N'>

                            <tbody id='Eyi8N'></tbody>

                        1. 主站蜘蛛池模板: 国产成人一区二区三区精 | 日韩黄 | 欧美一级毛片久久99精品蜜桃 | 人人干人人舔 | 在线一区 | 中文字幕 在线观看 | 亚洲一区二区三区 | 国产精品精品视频一区二区三区 | 久久久www成人免费无遮挡大片 | 日韩在线观看网站 | 狠狠爱免费视频 | 欧美精品黄| 免费在线日韩 | 国产精品99 | 在线播放一区二区三区 | 黄色网址免费在线观看 | 久久久久精 | 日韩精品在线观看视频 | 美女黄网 | 国产精品日韩在线观看 | 波多野结衣先锋影音 | 麻豆av在线 | 欧美电影在线观看网站 | 中文字幕精品视频在线观看 | 精品国产一区二区三区性色av | 九九综合九九 | 久久高清免费视频 | 日韩欧美在线观看视频 | 人人射人人草 | 久久99精品久久久久久国产越南 | 国产免费一区二区三区网站免费 | 国产精品久久久久久久久污网站 | 91久久国产精品 | 精品国产一区二区三区在线观看 | 天天爱爱网| 国产99精品 | 国产69精品久久99不卡免费版 | 亚洲精品永久免费 | 欧美在线网站 | 国产精品中文字幕在线 | 欧美成人精品一区二区男人看 |