<i id='4Q5L8'><tr id='4Q5L8'><dt id='4Q5L8'><q id='4Q5L8'><span id='4Q5L8'><b id='4Q5L8'><form id='4Q5L8'><ins id='4Q5L8'></ins><ul id='4Q5L8'></ul><sub id='4Q5L8'></sub></form><legend id='4Q5L8'></legend><bdo id='4Q5L8'><pre id='4Q5L8'><center id='4Q5L8'></center></pre></bdo></b><th id='4Q5L8'></th></span></q></dt></tr></i><div id='4Q5L8'><tfoot id='4Q5L8'></tfoot><dl id='4Q5L8'><fieldset id='4Q5L8'></fieldset></dl></div>
    1. <legend id='4Q5L8'><style id='4Q5L8'><dir id='4Q5L8'><q id='4Q5L8'></q></dir></style></legend>

      1. <tfoot id='4Q5L8'></tfoot>

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

        • <bdo id='4Q5L8'></bdo><ul id='4Q5L8'></ul>

        为什么在 Kubuntu 12.04 中安装 numpy 需要 python-dev

        Why does installing numpy require python-dev in Kubuntu 12.04(为什么在 Kubuntu 12.04 中安装 numpy 需要 python-dev)
          <bdo id='7niTz'></bdo><ul id='7niTz'></ul>

            <small id='7niTz'></small><noframes id='7niTz'>

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

                1. <tfoot id='7niTz'></tfoot>
                  本文介绍了为什么在 Kubuntu 12.04 中安装 numpy 需要 python-dev的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  刚开始在 pendrive 12.04 Kubuntu 环境中使用 python.我必须安装 GCC(明白这一点),但我还必须安装 python-dev 才能使用 PIP 安装 numpy.为什么我需要 python-dev?

                  Just starting out in python on a pendrive 12.04 Kubuntu environment. I had to install GCC (understand that), but I also had to install python-dev before I could use PIP to install numpy. Why do I need python-dev?

                  sudo apt-get install gcc
                  sudo apt-get install pip
                  cd /usr/lib/python2.7/
                  sudo apt-get install python-dev
                  sudo pip install numpy
                  

                  推荐答案

                  当你使用 pip 安装 numpy 时,包是从源代码编译的.pythonx.x-dev 包包含链接 python 所需的头文件.

                  When you use pip to install numpy, the packages is compiled from source. The pythonx.x-dev packages contain the necessary header files for linking against python.

                  这篇关于为什么在 Kubuntu 12.04 中安装 numpy 需要 python-dev的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  What happens when you compare 2 pandas Series(当你比较 2 个 pandas 系列时会发生什么)
                  Quickly find differences between two large text files(快速查找两个大文本文件之间的差异)
                  Python - Compare 2 files and output differences(Python - 比较 2 个文件和输出差异)
                  Why do comparisions between very large float values fail in python?(为什么在 python 中非常大的浮点值之间的比较会失败?)
                  Dictionary merge by updating but not overwriting if value exists(字典通过更新合并,但如果值存在则不覆盖)
                  Find entries of one text file in another file in python(在python中的另一个文件中查找一个文本文件的条目)
                    • <small id='xBhQL'></small><noframes id='xBhQL'>

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

                        <tbody id='xBhQL'></tbody>
                    • <tfoot id='xBhQL'></tfoot><legend id='xBhQL'><style id='xBhQL'><dir id='xBhQL'><q id='xBhQL'></q></dir></style></legend>

                          • <bdo id='xBhQL'></bdo><ul id='xBhQL'></ul>