Why would conda package installation and update clobber conda?

不打扰是莪最后的温柔 提交于 2019-12-11 15:11:29

问题


A little backstory. I was trying to install a git project csv2ofx and it has a requirement, pkutils. In my haste I installed peakutils. (I can only fine pkutils on pypi, but that's another story.)

> 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

Next, from inside the package directory, I tried to pip install the original git package, csv2ofx and this happened:

> 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

And at that point, I couldn't get conda to do anything (ie. conda list) I'm running python 3.6 in Miniconda3_64 on Windows 10.

Any idea what happened here? Any information in the packages I'm installing that would give you an idea that I was going to clobber conda?

来源:https://stackoverflow.com/questions/57340661/why-would-conda-package-installation-and-update-clobber-conda

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!