久久久久久久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>

                            主站蜘蛛池模板: av色噜噜 | 精品在线 | 色综合天天网 | 日韩资源| 国产精品无码久久久久 | 日日噜噜噜夜夜爽爽狠狠视频97 | 亚洲日产精品 | 在线欧美一区 | 色综合一区二区三区 | 欧美一区二区三区视频在线播放 | 一级一片在线观看 | 狠狠久| 亚洲一区在线日韩在线深爱 | 亚洲第一网站 | 久久人爽爽人爽爽 | 成人精品在线视频 | 欧美一级在线 | 国产精品污污视频 | 免费一区二区 | 天天欧美 | 精品国产欧美一区二区三区成人 | 性一交一乱一透一a级 | 丝袜久久 | 久久在线 | 久久九九免费 | 一级片视频免费观看 | 一区精品国产欧美在线 | 国产精品免费在线 | 国产精品99久久久久久久久 | 999国产视频 | 欧美99 | 亚洲视频三区 | 在线亚洲欧美 | 久久er99热精品一区二区 | 久久成人免费视频 | 国产精品久久久久久久久久 | 日韩一区二区av | 亚洲www| 婷婷免费在线 | 日韩精品在线一区 | 四虎午夜剧场 |