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

      <bdo id='5b29m'></bdo><ul id='5b29m'></ul>

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

    1. <tfoot id='5b29m'></tfoot>

      <small id='5b29m'></small><noframes id='5b29m'>

      1. 應用程序找不到安裝為 rpm 的 python 庫

        Application can#39;t find python library installed as rpm(應用程序找不到安裝為 rpm 的 python 庫)
        • <bdo id='RQlPY'></bdo><ul id='RQlPY'></ul>

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

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

                  本文介紹了應用程序找不到安裝為 rpm 的 python 庫的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我有一個在 CentOS 上的 virtualenv 中運行的 python 應用程序.此應用程序需要一個以 rpm 形式分發和安裝的 python 庫.當應用程序運行時,我會得到

                  沒有名為...的模塊.

                  我已驗證 rpm 已正確安裝,并且我還在 virtualenv 的 site-packages 目錄中安裝了 rpm,但這并沒有幫助.安裝 rpm 以便在虛擬環境中運行的應用程序可以訪問它的正確方法是什么?

                  解決方案

                  默認情況下,虛擬環境不訪問站點包中的模塊.您要么需要允許此類訪問(toggleglobalsitepackages in virtualenvwrapper),要么使用選項 --system-site-packages 重新創建允許此類訪問的 virtualenv.

                  I have a python application that's run inside a virtualenv on CentOS. This application needs a python library that's distributed and installed as an rpm. When the application runs I just get

                  no module named ....

                  I've verified that the rpm is installed correctly, and I've also installed the rpm in the site-packages directory of the virtualenv but that didn't help. What is the correct way to install an rpm so that an application running in a virtual environment has access to it?

                  解決方案

                  By default virtual environments don't access modules in site-packages. You either need to allow such access (toggleglobalsitepackages in virtualenvwrapper) or recreate you virtualenv allowing such access with option --system-site-packages.

                  這篇關于應用程序找不到安裝為 rpm 的 python 庫的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 包)
                    <legend id='4wQ8R'><style id='4wQ8R'><dir id='4wQ8R'><q id='4wQ8R'></q></dir></style></legend>
                    <i id='4wQ8R'><tr id='4wQ8R'><dt id='4wQ8R'><q id='4wQ8R'><span id='4wQ8R'><b id='4wQ8R'><form id='4wQ8R'><ins id='4wQ8R'></ins><ul id='4wQ8R'></ul><sub id='4wQ8R'></sub></form><legend id='4wQ8R'></legend><bdo id='4wQ8R'><pre id='4wQ8R'><center id='4wQ8R'></center></pre></bdo></b><th id='4wQ8R'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='4wQ8R'><tfoot id='4wQ8R'></tfoot><dl id='4wQ8R'><fieldset id='4wQ8R'></fieldset></dl></div>

                      <small id='4wQ8R'></small><noframes id='4wQ8R'>

                      <tfoot id='4wQ8R'></tfoot>
                            <tbody id='4wQ8R'></tbody>
                            <bdo id='4wQ8R'></bdo><ul id='4wQ8R'></ul>

                            主站蜘蛛池模板: 国产精品视频播放 | 黄色骚片 | 青青久在线视频 | 国产精品精品视频一区二区三区 | 国产精品无码久久久久 | 男女久久久| 91麻豆精品国产91久久久久久久久 | 成人亚洲精品久久久久软件 | 色网在线看 | 中文字幕一区在线 | 国产精品福利网 | 国产精品爱久久久久久久 | 中文字幕在线欧美 | 中文字幕一区二区三区四区五区 | 高清色| 国产精品精品视频一区二区三区 | 国产小视频在线观看 | 欧美视频 亚洲视频 | 亚洲国产精品久久久 | 亚洲a在线观看 | 日本五月婷婷 | 日本中文字幕一区 | 日本一道本视频 | 在线免费国产 | 国产精品久久久久久久久久久久 | 在线看无码的免费网站 | 亚洲精品女优 | 国产精品久久 | 欧美黄色一区 | 青青草中文字幕 | 亚洲一区国产 | 69精品久久久久久 | 久久大全 | 国产成人免费 | 中文字幕综合在线 | 久久久久一区二区三区 | 成人一级黄色毛片 | 欧美一区二区在线观看 | 自拍偷拍一区二区三区 | 人人爽人人草 | 久草免费视 |