Anaconda 环境 安装包 Numpy-Base
Anaconda Environment Installing Packages Numpy-Base
在安装了一些软件包之后 TensorFlow
软件包更新为 conda install
,当 运行 命令 conda list
我看到有两个 numpy
包裹:
numpy-base
numpy
numpy 1.14.3 py35h9bb19eb_2
numpy-base 1.14.3 py35h7ef55bc_1
问题:
- 为什么我有两个
numpy
版本?
- 正在使用哪个,为什么还要安装
numpy-base
软件包?
numpy
,这里是元包的例子,而numpy-base
是原始的numpy库包。
When a conda package is used for metadata alone and does not contain any files, it is referred to as a metapackage. The metapackage may contain dependencies to several core, low-level libraries and can contain links to software files that are automatically downloaded when executed. Metapackages are used to capture metadata and make complicated package specifications simpler.
一个conda包的结构如下,一个metapackage只包含info
文件夹。
.
├── bin
│ └── f2py
├── info
│ ├── LICENSE.txt
│ ├── files
│ ├── index.json
│ ├── paths.json
│ └── recipe
└── lib
└── python3.x
如果您查看 numpy
的 meta.yaml
文件,它实际上有一条评论说
numpy is a metapackage that may include mkl_fft and mkl_random both of which require numpy-base to build.
详细了解 conda packages。
在安装了一些软件包之后 TensorFlow
软件包更新为 conda install
,当 运行 命令 conda list
我看到有两个 numpy
包裹:
numpy-base
numpy
numpy 1.14.3 py35h9bb19eb_2
numpy-base 1.14.3 py35h7ef55bc_1
问题:
- 为什么我有两个
numpy
版本? - 正在使用哪个,为什么还要安装
numpy-base
软件包?
numpy
,这里是元包的例子,而numpy-base
是原始的numpy库包。
When a conda package is used for metadata alone and does not contain any files, it is referred to as a metapackage. The metapackage may contain dependencies to several core, low-level libraries and can contain links to software files that are automatically downloaded when executed. Metapackages are used to capture metadata and make complicated package specifications simpler.
一个conda包的结构如下,一个metapackage只包含info
文件夹。
.
├── bin
│ └── f2py
├── info
│ ├── LICENSE.txt
│ ├── files
│ ├── index.json
│ ├── paths.json
│ └── recipe
└── lib
└── python3.x
如果您查看 numpy
的 meta.yaml
文件,它实际上有一条评论说
numpy is a metapackage that may include mkl_fft and mkl_random both of which require numpy-base to build.
详细了解 conda packages。