Skip to content

AssertionError #14054

@ChazenLi

Description

@ChazenLi

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

AssertionError('Prefix record insertion error: a record with name ca-certificates already exists in the prefix. This is a bug in conda. Please report it at https://github.com/conda/conda/issues')
()
AssertionError()

I'm new to DL, and trying to install the pytorch, and
Above is what happened when I using the conda install line from the PYtorch.
The installation goes well after I using '''conda clean --all''' to remove all and do the installation again.
I‘m sorry for forget to collect the detail information about the whole problem cause I try it again immediately.
And the next is the info that I have correct installed torch. Hope is helps!

Conda Info

active environment : DL
    active env location : D:\Anaconda\envs\DL
            shell level : 2
       user config file : C:\Users\Windows11\.condarc
 populated config files : C:\Users\Windows11\.condarc
          conda version : 23.7.4
    conda-build version : 3.26.1
         python version : 3.11.5.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=12.6=0
                          __win=0=0
       base environment : D:\Anaconda  (writable)
      conda av data dir : D:\Anaconda\etc\conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : D:\Anaconda\pkgs
                          C:\Users\Windows11\.conda\pkgs
                          C:\Users\Windows11\AppData\Local\conda\conda\pkgs
       envs directories : D:\Anaconda\envs
                          C:\Users\Windows11\.conda\envs
                          C:\Users\Windows11\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.7.4 requests/2.31.0 CPython/3.11.5 Windows/10 Windows/10.0.22631 aau/0.4.2 c/AEjzy-fWQWuAfR7HbzgBag s/zn4B_XeZZpOo9b0F3zKcZA e/OodALWo0_ZZL28jRT-tA5Q
          administrator : False
             netrc file : None
           offline mode : False

Conda Config

channels:
  - defaults

==> cmd_line <==
debug: False
json: False

Conda list

# packages in environment at D:\Anaconda\envs\DL:
#
# Name                    Version                   Build  Channel
blas                      1.0                         mkl    defaults
brotli-python             1.0.9           py312hd77b12b_8    defaults
bzip2                     1.0.8                h2bbff1b_6    defaults
ca-certificates           2024.7.2             haa95532_0    defaults
certifi                   2024.7.4        py312haa95532_0    defaults
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
cuda-cccl                 12.5.39                       0    nvidia
cuda-cccl_win-64          12.5.39                       0    nvidia
cuda-cudart               12.1.105                      0    nvidia
cuda-cudart-dev           12.1.105                      0    nvidia
cuda-cupti                12.1.105                      0    nvidia
cuda-libraries            12.1.0                        0    nvidia
cuda-libraries-dev        12.1.0                        0    nvidia
cuda-nvrtc                12.1.105                      0    nvidia
cuda-nvrtc-dev            12.1.105                      0    nvidia
cuda-nvtx                 12.1.105                      0    nvidia
cuda-opencl               12.5.39                       0    nvidia
cuda-opencl-dev           12.5.39                       0    nvidia
cuda-profiler-api         12.5.39                       0    nvidia
cuda-runtime              12.1.0                        0    nvidia
cuda-version              12.5                          3    nvidia
expat                     2.6.2                hd77b12b_0    defaults
filelock                  3.13.1          py312haa95532_0    defaults
freetype                  2.12.1               ha860e81_0    defaults
idna                      3.7             py312haa95532_0    defaults
intel-openmp              2023.1.0         h59b6b97_46320    defaults
jinja2                    3.1.4           py312haa95532_0    defaults
jpeg                      9e                   h2bbff1b_1    defaults
lcms2                     2.12                 h83e58a3_0    defaults
lerc                      3.0                  hd77b12b_0    defaults
libcublas                 12.1.0.26                     0    nvidia
libcublas-dev             12.1.0.26                     0    nvidia
libcufft                  11.0.2.4                      0    nvidia
libcufft-dev              11.0.2.4                      0    nvidia
libcurand                 10.3.6.82                     0    nvidia
libcurand-dev             10.3.6.82                     0    nvidia
libcusolver               11.4.4.55                     0    nvidia
libcusolver-dev           11.4.4.55                     0    nvidia
libcusparse               12.0.2.55                     0    nvidia
libcusparse-dev           12.0.2.55                     0    nvidia
libdeflate                1.17                 h2bbff1b_1    defaults
libffi                    3.4.4                hd77b12b_1    defaults
libjpeg-turbo             2.0.0                h196d8e1_0    defaults
libnpp                    12.0.2.50                     0    nvidia
libnpp-dev                12.0.2.50                     0    nvidia
libnvjitlink              12.1.105                      0    nvidia
libnvjitlink-dev          12.1.105                      0    nvidia
libnvjpeg                 12.1.1.14                     0    nvidia
libnvjpeg-dev             12.1.1.14                     0    nvidia
libpng                    1.6.39               h8cc25b3_0    defaults
libtiff                   4.5.1                hd77b12b_0    defaults
libuv                     1.48.0               h827c3e9_0    defaults
libwebp-base              1.3.2                h2bbff1b_0    defaults
lz4-c                     1.9.4                h2bbff1b_1    defaults
markupsafe                2.1.3           py312h2bbff1b_0    defaults
mkl                       2023.1.0         h6b88ed4_46358    defaults
mkl-service               2.4.0           py312h2bbff1b_1    defaults
mkl_fft                   1.3.8           py312h2bbff1b_0    defaults
mkl_random                1.2.4           py312h59b6b97_0    defaults
mpmath                    1.3.0           py312haa95532_0    defaults
networkx                  3.3             py312haa95532_0    defaults
numpy                     1.26.4          py312hfd52020_0    defaults
numpy-base                1.26.4          py312h4dde369_0    defaults
openjpeg                  2.4.0                h4afccc4_2    defaults
openssl                   3.0.14               h827c3e9_0    defaults
pillow                    10.4.0          py312h827c3e9_0    defaults
pip                       24.0            py312haa95532_0    defaults
pysocks                   1.7.1           py312haa95532_0    defaults
python                    3.12.4               h14ffc60_1    defaults
pytorch                   2.3.1           py3.12_cuda12.1_cudnn8_0    pytorch
pytorch-cuda              12.1                 hde6ce7c_5    pytorch
pytorch-mutex             1.0                        cuda    pytorch
pyyaml                    6.0.1           py312h2bbff1b_0    defaults
requests                  2.32.2          py312haa95532_0    defaults
setuptools                69.5.1          py312haa95532_0    defaults
sqlite                    3.45.3               h2bbff1b_0    defaults
sympy                     1.12            py312haa95532_0    defaults
tbb                       2021.8.0             h59b6b97_0    defaults
tk                        8.6.14               h0416ee5_0    defaults
torchaudio                2.3.1                    pypi_0    pypi
torchvision               0.18.1                   pypi_0    pypi
typing_extensions         4.11.0          py312haa95532_0    defaults
tzdata                    2024a                h04d1e81_0    defaults
urllib3                   2.2.2           py312haa95532_0    defaults
vc                        14.2                 h2eaa2aa_4    defaults
vs2015_runtime            14.29.30133          h43f2093_4    defaults
wheel                     0.43.0          py312haa95532_0    defaults
win_inet_pton             1.1.0           py312haa95532_0    defaults
xz                        5.4.6                h8cc25b3_1    defaults
yaml                      0.2.5                he774522_0    defaults
zlib                      1.2.13               h8cc25b3_1    defaults
zstd                      1.5.5                hd43e919_2    defaults

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    source::communitycatch-all for issues filed by community memberstype::bugdescribes erroneous operation, use severity::* to classify the type

    Type

    No type

    Projects

    Status

    🏁 Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions