为什么要用conda软件包安装和更新clobber conda?

时间:2019-08-03 17:33:39

标签: windows-10 miniconda

一些背景故事。我试图安装一个git项目csv2ofx,它有一个要求pkutils。我急忙安装了peakutils。 (我只能在pypi上对pkutils进行罚款,但这是另一个故事。)

> conda install -c anaconda peakutils.
[...]
The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    bzip2-1.0.8                |       he774522_0         150 KB  anaconda
    ca-certificates-2019.5.15  |                0         166 KB  anaconda
    certifi-2019.6.16          |           py36_0         155 KB  anaconda
    conda-4.7.10               |           py36_0         3.0 MB  anaconda
    conda-package-handling-1.3.11|           py36_0         280 KB  anaconda
    libarchive-3.3.3           |       h0643e63_5         1.4 MB  anaconda
    libiconv-1.15              |       h1df5818_7         664 KB  anaconda
    libxml2-2.9.9              |       h464c3ec_0         3.5 MB  anaconda
    lz4-c-1.8.1.2              |       h2fa13f4_0         217 KB  anaconda
    lzo-2.10                   |       h6df0209_2         154 KB  anaconda
    peakutils-1.3.2            |             py_0          10 KB  conda-forge
    python-libarchive-c-2.8    |          py36_11          23 KB  anaconda
    scipy-1.2.1                |   py36h29ff71c_0        14.0 MB  anaconda
    tqdm-4.32.1                |             py_0          48 KB  anaconda
    xz-5.2.4                   |       h2fa13f4_4         812 KB  anaconda
    zlib-1.2.11                |       h62dcd97_3         128 KB  anaconda
    zstd-1.3.7                 |       h508b16e_0         536 KB  anaconda
    ------------------------------------------------------------
                                           Total:        25.3 MB

The following NEW packages will be INSTALLED:

  bzip2              anaconda/win-64::bzip2-1.0.8-he774522_0
  conda-package-han~ anaconda/win-64::conda-package-handling-1.3.11-py36_0
  libarchive         anaconda/win-64::libarchive-3.3.3-h0643e63_5
  libiconv           anaconda/win-64::libiconv-1.15-h1df5818_7
  libxml2            anaconda/win-64::libxml2-2.9.9-h464c3ec_0
  lz4-c              anaconda/win-64::lz4-c-1.8.1.2-h2fa13f4_0
  lzo                anaconda/win-64::lzo-2.10-h6df0209_2
  peakutils          conda-forge/noarch::peakutils-1.3.2-py_0
  python-libarchive~ anaconda/win-64::python-libarchive-c-2.8-py36_11
  tqdm               anaconda/noarch::tqdm-4.32.1-py_0
  xz                 anaconda/win-64::xz-5.2.4-h2fa13f4_4
  zlib               anaconda/win-64::zlib-1.2.11-h62dcd97_3
  zstd               anaconda/win-64::zstd-1.3.7-h508b16e_0

The following packages will be UPDATED:

  ca-certificates                               2019.1.23-0 --> 2019.5.15-0
  certifi                                   2019.3.9-py36_0 --> 2019.6.16-py36_0
  conda                                       4.6.14-py36_0 --> 4.7.10-py36_0
  scipy               pkgs/main::scipy-1.0.0-py36h1260518_0 --> anaconda::scipy-1.2.1-py36h29ff71c_0

接下来,在包目录中,我尝试通过点子安装原始的git包csv2ofx,这发生了:

> pip install .
[...]
PackagesNotFoundError: The following packages are missing from the target environment:
  - defaults/win-64::vs2015_runtime==15.5.2=3
  - defaults/win-64::vc==14.1=h0510ff6_3

那时,我无法让conda做任何事情(即conda列表) 我正在Windows 10的Miniconda3_64中运行python 3.6。

你知道这里发生了什么吗?我正在安装的软件包中的任何信息都可以使您知道我将要破坏conda吗?

0 个答案:

没有答案