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

  • <tfoot id='k5aeK'></tfoot>
      <bdo id='k5aeK'></bdo><ul id='k5aeK'></ul>

      1. <legend id='k5aeK'><style id='k5aeK'><dir id='k5aeK'><q id='k5aeK'></q></dir></style></legend>
      2. <small id='k5aeK'></small><noframes id='k5aeK'>

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

        pip 無法從 requirements.txt 安裝軟件包

        pip fails to install packages from requirements.txt(pip 無法從 requirements.txt 安裝軟件包)

          <tbody id='qWxDE'></tbody>

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

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

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

                <bdo id='qWxDE'></bdo><ul id='qWxDE'></ul>

                <tfoot id='qWxDE'></tfoot>
                1. 本文介紹了pip 無法從 requirements.txt 安裝軟件包的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我正在嘗試使用需求文件安裝 python 軟件.

                  I am trying to install a python software using the requirements file.

                  >> cat requirements.txt
                  Cython==0.15.1
                  numpy==1.6.1
                  distribute==0.6.24
                  logilab-astng==0.23.1logilab-common==0.57.1
                  netaddr==0.7.6
                  numexpr==2.0.1
                  ply==2.5
                  pycallgraph==0.5.1
                  pyflowtools==0.3.4.1
                  pylint==0.25.1
                  tables==2.3.1
                  wsgiref==0.1.2
                  

                  所以我創(chuàng)建了一個虛擬環(huán)境

                  So I create a virtual environment

                  >> mkvirtualenv parser
                  
                  (parser)
                  >> pip freeze
                  distribute==0.6.24
                  wsgiref==0.1.2
                  
                  (parser)
                  >> pip install -r requirements.txt
                  

                  ...然后我下載了包但沒有安裝錯誤:http://pastie.org/4079800

                  ... and then I packages downloaded but not installed with errors: http://pastie.org/4079800

                  (parser)
                  >> pip freeze
                  distribute==0.6.24
                  wsgiref==0.1.2
                  

                  令人驚訝的是,如果我嘗試手動安裝每個軟件包,它們安裝得很好.例如:

                  Surprisingly, if I try to manually install each package, they install just fine. For instance:

                  >> pip install numpy==1.6.1
                  
                  (parser)
                  >> pip freeze
                  distribute==0.6.24
                  wsgiref==0.1.2
                  numpy==1.6.1
                  

                  我迷路了.怎么回事?

                  PS:我正在使用 pip v1.1 和 python v2.7.2 與 virtualenvvirtualenvwrapper

                  PS: I am using pip v1.1 and python v2.7.2 with virtualenv and virtualenvwrapper

                  推薦答案

                  看起來 numexpr 包在安裝時依賴于 numpy.Pip 兩次通過您的要求:首先它下載所有包并運行每個包的 setup.py 以獲取其元數(shù)據(jù),然后在第二遍中安裝它們.

                  It looks like the numexpr package has an install-time dependency on numpy. Pip makes two passes through your requirements: first it downloads all packages and runs each one's setup.py to get its metadata, and then it installs them all in a second pass.

                  所以,numexpr 是在它的 setup.py 中嘗試從 numpy 導(dǎo)入,但是當(dāng) pip 第一次運行 numexpr 的 setup.py 時,它還沒有安裝 numpy.

                  So, numexpr is trying to import from numpy in its setup.py, but when pip first runs numexpr's setup.py, it has not yet installed numpy.

                  這也是你一個一個安裝包時看不到這個錯誤的原因:如果你一次安裝一個,numpy會在你pip install 數(shù)字表達式.

                  This is also why you don't see this error when you install the packages one by one: if you install them one at a time, numpy will be fully installed in your environment before you pip install numexpr.

                  唯一的解決方案是在運行 pip install -r requirements.txt 之前安裝 pip install numpy - 你將無法在帶有單個 requirements.txt 文件的單個命令.

                  The only solution is to install pip install numpy before you ever run pip install -r requirements.txt -- you won't be able to do this in a single command with a single requirements.txt file.

                  更多信息在這里:https://github.com/pypa/pip/issues/25

                  這篇關(guān)于pip 無法從 requirements.txt 安裝軟件包的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  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(如何在不重復(fù)導(dǎo)入頂級名稱的情況下構(gòu)造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(分發(fā)帶有已編譯動態(tài)共享庫的 Python 包)
                  <tfoot id='KIJD1'></tfoot>
                2. <legend id='KIJD1'><style id='KIJD1'><dir id='KIJD1'><q id='KIJD1'></q></dir></style></legend>

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

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

                        <bdo id='KIJD1'></bdo><ul id='KIJD1'></ul>

                            <tbody id='KIJD1'></tbody>
                            主站蜘蛛池模板: 欧美高清视频一区 | 国产精品永久 | www国产精品 | www久久国产 | 中文字幕一二三 | 精品久久久久久久久久久久久久 | 久草色播 | www.成人免费视频 | 久久亚洲国产精品日日av夜夜 | 91视频中文 | 午夜寂寞影院在线观看 | 日本国产一区二区 | 午夜激情免费视频 | 国产一区91精品张津瑜 | 免费观看成人av | 黄色大片免费观看 | 成人在线国产 | 色偷偷噜噜噜亚洲男人 | 免费国产一区 | 午夜国产一级 | 成人免费视频网站在线看 | 久久精品国产一区二区电影 | 欧美在线a| 嫩草影院黄 | 欧美一级久久 | 少妇一级淫片aaaaaaaaa | 久久精品国产久精国产 | 99亚洲精品 | 黄色国产视频 | 精品一区二区三区四区五区 | 亚洲美女视频 | 精品国产一区二区在线 | 狠狠av| 国产成人高清视频 | 免费看淫片 | 成人av网站在线观看 | 黄色av大片 | 91精品久久久久久久久久入口 | 欧美日韩在线播放 | 曰韩三级| 伊人啪啪网 |