conda / conda

A system-level, binary package and environment manager running on all major operating systems and platforms.
https://docs.conda.io/projects/conda/
Other
6.41k stars 1.66k forks source link

UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel python3.1 #12785

Closed geofrunz closed 1 year ago

geofrunz commented 1 year ago

Checklist

What happened?

Dear All, I'm trying to install some libraries using Conda, but every time I try I get the following message (regardless of the package I'm trying to install (Spades, GATK, predicthaplom etc):

Collecting package metadata (current_repodata.json): failed

UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel python3.1 https://conda.anaconda.org/python3.1

The channel is not accessible or is invalid.

You will need to adjust your conda configuration to proceed. Use conda config --show channels to view your configuration's current state, and use conda config --show-sources to view config file locations.

It happened quite suddenly. everything was working fine and then this problem start to appear. Does anybody have any idea how to solve it?

Conda Info

active environment : /home/giovanni/anaconda3/envs/haphpipe
    active env location : /home/giovanni/anaconda3/envs/haphpipe
            shell level : 2
       user config file : /home/giovanni/.condarc
 populated config files : /home/giovanni/.condarc
          conda version : 23.3.1
    conda-build version : not installed
         python version : 3.10.10.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.27=0
                          __linux=4.15.0=0
                          __unix=0=0
       base environment : /home/giovanni/miniconda3  (writable)
      conda av data dir : /home/giovanni/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/bioconda/linux-64
                          https://conda.anaconda.org/bioconda/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://conda.anaconda.org/R/linux-64
                          https://conda.anaconda.org/R/noarch
                          https://conda.anaconda.org/python3.6/linux-64
                          https://conda.anaconda.org/python3.6/noarch
                          https://conda.anaconda.org/python3.1/linux-64
                          https://conda.anaconda.org/python3.1/noarch
                          https://conda.anaconda.org/python/linux-64
                          https://conda.anaconda.org/python/noarch
          package cache : /home/giovanni/miniconda3/pkgs
                          /home/giovanni/.conda/pkgs
       envs directories : /home/giovanni/miniconda3/envs
                          /home/giovanni/.conda/envs
               platform : linux-64
             user-agent : conda/23.3.1 requests/2.28.1 CPython/3.10.10 Linux/4.15.0-202-generic ubuntu/18.04.1 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Conda Config

==> /home/giovanni/.condarc <==
channel_priority: disabled
channels:
  - conda-forge
  - bioconda
  - defaults
  - R
  - python3.6/linux-64
  - python3.1
  - python
  - python3.6

Conda list

# packages in environment at /home/giovanni/anaconda3/envs/haphpipe:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
_r-mutex                  1.0.1               anacondar_1    conda-forge
aiohttp                   3.8.3           py310h5764c6d_1    conda-forge
aiosignal                 1.3.1                    pypi_0    pypi
argcomplete               1.12.3                   pypi_0    pypi
async-timeout             4.0.2                    pypi_0    pypi
attrs                     22.1.0                   pypi_0    pypi
backoff                   2.2.1                    pypi_0    pypi
bc                        1.07.1               h7f98852_0    conda-forge
binutils_impl_linux-64    2.39                 h6ceecb4_0    conda-forge
biopython                 1.79            py310h5764c6d_3    conda-forge
blast                     2.14.0               h7d5a4b4_1    bioconda
boto                      2.49.0                   pypi_0    pypi
bowtie2                   2.5.1           py310h8d7afc0_0    bioconda
brotlipy                  0.7.0           py310h5764c6d_1005    conda-forge
bwa                       0.7.17              he4a0461_11    bioconda
bwidget                   1.9.14               ha770c72_1    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2022.9.24            ha878542_0    conda-forge
cachetools                5.2.0                    pypi_0    pypi
cairo                     1.16.0            ha61ee94_1014    conda-forge
certifi                   2022.9.24                pypi_0    pypi
cffi                      1.15.1          py310h255011f_2    conda-forge
charset-normalizer        2.1.1                    pypi_0    pypi
click                     8.1.3           py310hff52083_1    conda-forge
colorama                  0.4.6                    pypi_0    pypi
crcmod                    1.7             py310h5764c6d_1009    conda-forge
cryptography              38.0.3          py310h597c629_0    conda-forge
curl                      7.86.0               h7bff187_1    conda-forge
entrez-direct             16.2                 he881be0_1    bioconda
expat                     2.5.0                h27087fc_0    conda-forge
fasteners                 0.17.3                   pypi_0    pypi
flash                     1.2.11               h27826a3_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.1               hc2a2eb6_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freebayes                 1.3.6                hbfe0e7f_2    bioconda
freetype                  2.12.1               hca18f0e_0    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
frozenlist                1.3.3           py310h5764c6d_0    conda-forge
future                    0.18.2                   pypi_0    pypi
gatk                      3.8                 hdfd78af_11    bioconda
gcc_impl_linux-64         12.2.0              hcc96c02_19    conda-forge
gcs-oauth2-boto-plugin    3.0                      pypi_0    pypi
gettext                   0.21.1               h27087fc_0    conda-forge
gfortran_impl_linux-64    12.2.0              h55be85b_19    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
google-apitools           0.5.32                   pypi_0    pypi
google-auth               2.14.1                   pypi_0    pypi
google-reauth             0.1.1                    pypi_0    pypi
gql                       3.4.0                    pypi_0    pypi
graphite2                 1.3.13            h58526e2_1001    conda-forge
graphql-core              3.2.3                    pypi_0    pypi
gsl                       2.7                  he838d99_0    conda-forge
gsutil                    5.16                     pypi_0    pypi
gxx_impl_linux-64         12.2.0              hcc96c02_19    conda-forge
haphpipe                  1.0.3                    pypi_0    pypi
harfbuzz                  5.3.0                h418a68e_0    conda-forge
htslib                    1.16                 h6bc39ce_0    bioconda
httplib2                  0.21.0                   pypi_0    pypi
icu                       70.1                 h27087fc_0    conda-forge
idna                      3.4                      pypi_0    pypi
jpeg                      9e                   h166bdaf_2    conda-forge
kernel-headers_linux-64   2.6.32              he073ed8_15    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.19.3               h3790be6_0    conda-forge
ld_impl_linux-64          2.39                 hc81fddc_0    conda-forge
lerc                      4.0.0                h27087fc_0    conda-forge
libblas                   3.9.0           16_linux64_openblas    conda-forge
libcblas                  3.9.0           16_linux64_openblas    conda-forge
libcurl                   7.86.0               h7bff187_1    conda-forge
libdeflate                1.14                 h166bdaf_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-devel_linux-64     12.2.0              h3b97bd3_19    conda-forge
libgcc-ng                 12.2.0              h65d4601_19    conda-forge
libgfortran-ng            12.2.0              h69a702a_19    conda-forge
libgfortran5              12.2.0              h337968e_19    conda-forge
libglib                   2.74.1               h7a41b64_0    conda-forge
libgomp                   12.2.0              h65d4601_19    conda-forge
libiconv                  1.17                 h166bdaf_0    conda-forge
libidn2                   2.3.4                h166bdaf_0    conda-forge
liblapack                 3.9.0           16_linux64_openblas    conda-forge
libnghttp2                1.47.0               hdcd2b5c_1    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libopenblas               0.3.21          pthreads_h78a6416_3    conda-forge
libpng                    1.6.38               h753d276_0    conda-forge
libsanitizer              12.2.0              h46fd767_19    conda-forge
libsqlite                 3.40.0               h753d276_0    conda-forge
libssh2                   1.10.0               haa6b8db_3    conda-forge
libstdcxx-devel_linux-64  12.2.0              h3b97bd3_19    conda-forge
libstdcxx-ng              12.2.0              h46fd767_19    conda-forge
libtiff                   4.4.0                h55922b4_4    conda-forge
libunistring              0.9.10               h7f98852_0    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libwebp-base              1.2.4                h166bdaf_0    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxml2                   2.9.14               h22db469_4    conda-forge
libzlib                   1.2.13               h166bdaf_4    conda-forge
llvm-meta                 7.0.0                         0    conda-forge
mafft                     7.520                h031d066_2    bioconda
make                      4.3                  hd18ef5c_1    conda-forge
modeltest-ng              0.1.7                h5c6ebe3_0    bioconda
monotonic                 1.5                      pypi_0    pypi
more-itertools            9.0.0                    pypi_0    pypi
mpi                       1.0                     openmpi    conda-forge
multidict                 6.0.2           py310h5764c6d_2    conda-forge
mummer                    3.23            pl5321hdbdd923_16    bioconda
ncbi-vdb                  3.0.5                hdbdd923_2    bioconda
ncurses                   6.3                  h27087fc_1    conda-forge
numpy                     1.23.4          py310h53a5b5f_1    conda-forge
oauth2client              4.1.3                    pypi_0    pypi
openjdk                   8.0.332              h166bdaf_0    conda-forge
openmp                    7.0.0                h2d50403_0    conda-forge
openmpi                   4.1.4              ha1ae619_101    conda-forge
openssl                   1.1.1s               h166bdaf_0    conda-forge
ossuuid                   1.6.2             hf484d3e_1000    conda-forge
pango                     1.50.11              h382ae3d_0    conda-forge
parallel                  20220922             ha770c72_0    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pcre2                     10.37                hc3806b6_1    conda-forge
perl                      5.32.1          2_h7f98852_perl5    conda-forge
perl-alien-build          2.48            pl5321hec16e2b_0    bioconda
perl-alien-libxml2        0.17            pl5321hec16e2b_0    bioconda
perl-archive-tar          2.40            pl5321hdfd78af_0    bioconda
perl-business-isbn        3.007           pl5321hd8ed1ab_0    conda-forge
perl-business-isbn-data   20210112.006    pl5321hd8ed1ab_0    conda-forge
perl-capture-tiny         0.48            pl5321ha770c72_1    conda-forge
perl-carp                 1.50            pl5321hd8ed1ab_0    conda-forge
perl-common-sense         3.75            pl5321hd8ed1ab_0    conda-forge
perl-compress-raw-bzip2   2.201           pl5321h166bdaf_0    conda-forge
perl-compress-raw-zlib    2.202           pl5321h166bdaf_0    conda-forge
perl-constant             1.33            pl5321hd8ed1ab_0    conda-forge
perl-data-dumper          2.183           pl5321h166bdaf_0    conda-forge
perl-encode               3.19            pl5321h166bdaf_0    conda-forge
perl-exporter             5.74            pl5321hd8ed1ab_0    conda-forge
perl-exporter-tiny        1.002002        pl5321hd8ed1ab_0    conda-forge
perl-extutils-makemaker   7.64            pl5321hd8ed1ab_0    conda-forge
perl-ffi-checklib         0.28            pl5321hdfd78af_0    bioconda
perl-file-chdir           0.1011          pl5321hd8ed1ab_0    conda-forge
perl-file-path            2.18            pl5321hd8ed1ab_0    conda-forge
perl-file-temp            0.2304          pl5321hd8ed1ab_0    conda-forge
perl-file-which           1.24            pl5321hd8ed1ab_0    conda-forge
perl-importer             0.026           pl5321hd8ed1ab_0    conda-forge
perl-io-compress          2.201           pl5321hdbdd923_2    bioconda
perl-io-zlib              1.14            pl5321hdfd78af_0    bioconda
perl-json                 4.10            pl5321hdfd78af_0    bioconda
perl-json-xs              2.34            pl5321h4ac6f70_6    bioconda
perl-list-moreutils       0.430           pl5321hdfd78af_0    bioconda
perl-list-moreutils-xs    0.430           pl5321h031d066_2    bioconda
perl-mime-base64          3.16            pl5321h166bdaf_0    conda-forge
perl-parent               0.238           pl5321hd8ed1ab_0    conda-forge
perl-path-tiny            0.124           pl5321hd8ed1ab_0    conda-forge
perl-pathtools            3.75            pl5321h166bdaf_0    conda-forge
perl-scalar-list-utils    1.63            pl5321h166bdaf_0    conda-forge
perl-scope-guard          0.21            pl5321hd8ed1ab_0    conda-forge
perl-storable             3.15            pl5321h166bdaf_0    conda-forge
perl-sub-info             0.002           pl5321hd8ed1ab_0    conda-forge
perl-term-table           0.016           pl5321hdfd78af_0    bioconda
perl-test2-suite          0.000145        pl5321hdfd78af_0    bioconda
perl-types-serialiser     1.01            pl5321hdfd78af_0    bioconda
perl-uri                  5.12            pl5321hdfd78af_0    bioconda
perl-xml-libxml           2.0207          pl5321h661654b_0    bioconda
perl-xml-namespacesupport 1.12            pl5321hd8ed1ab_0    conda-forge
perl-xml-sax              1.02            pl5321hd8ed1ab_0    conda-forge
perl-xml-sax-base         1.09            pl5321hd8ed1ab_0    conda-forge
picard                    3.0.0                hdfd78af_0    bioconda
pip                       22.3.1                   pypi_0    pypi
pixman                    0.40.0               h36c2ea0_0    conda-forge
promise                   2.3             py310hff52083_7    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pyasn1                    0.4.8                    pypi_0    pypi
pyasn1-modules            0.2.7                    pypi_0    pypi
pycparser                 2.21                     pypi_0    pypi
pyopenssl                 22.1.0                   pypi_0    pypi
pyparsing                 3.0.9                    pypi_0    pypi
pysocks                   1.7.1           py310hff52083_5    conda-forge
python                    3.10.6          h582c2e5_0_cpython    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pyu2f                     0.1.5                    pypi_0    pypi
pyyaml                    6.0             py310h5764c6d_5    conda-forge
r-backports               1.4.1             r41h06615bd_1    conda-forge
r-base                    4.1.3                h7880091_3    conda-forge
r-bitops                  1.0_7             r41h06615bd_1    conda-forge
r-brio                    1.1.3             r41h06615bd_1    conda-forge
r-callr                   3.7.3             r41hc72bb7e_0    conda-forge
r-catools                 1.18.2            r41h7525677_1    conda-forge
r-cli                     3.4.1             r41h7525677_1    conda-forge
r-colorspace              2.0_3             r41h06615bd_1    conda-forge
r-crayon                  1.5.2             r41hc72bb7e_1    conda-forge
r-desc                    1.4.2             r41hc72bb7e_1    conda-forge
r-diffobj                 0.3.5             r41h06615bd_1    conda-forge
r-digest                  0.6.30            r41h7525677_0    conda-forge
r-ellipsis                0.3.2             r41h06615bd_1    conda-forge
r-evaluate                0.18              r41hc72bb7e_0    conda-forge
r-fansi                   1.0.3             r41h06615bd_1    conda-forge
r-farver                  2.1.1             r41h7525677_1    conda-forge
r-fs                      1.5.2             r41h7525677_2    conda-forge
r-ggplot2                 3.4.0             r41hc72bb7e_0    conda-forge
r-glue                    1.6.2             r41h06615bd_1    conda-forge
r-gplots                  3.1.3             r41hc72bb7e_1    conda-forge
r-gsalib                  2.2.1             r41hc72bb7e_1    conda-forge
r-gtable                  0.3.1             r41hc72bb7e_1    conda-forge
r-gtools                  3.9.3             r41h06615bd_1    conda-forge
r-isoband                 0.2.6             r41h7525677_1    conda-forge
r-jsonlite                1.8.3             r41h06615bd_0    conda-forge
r-kernsmooth              2.23_20           r41hd009a43_1    conda-forge
r-labeling                0.4.2             r41hc72bb7e_2    conda-forge
r-lattice                 0.20_45           r41h06615bd_1    conda-forge
r-lifecycle               1.0.3             r41hc72bb7e_1    conda-forge
r-magrittr                2.0.3             r41h06615bd_1    conda-forge
r-mass                    7.3_58.1          r41h06615bd_1    conda-forge
r-matrix                  1.5_3             r41h5f7b363_0    conda-forge
r-mgcv                    1.8_41            r41h5f7b363_0    conda-forge
r-munsell                 0.5.0           r41hc72bb7e_1005    conda-forge
r-nlme                    3.1_160           r41h8da6f51_0    conda-forge
r-pillar                  1.8.1             r41hc72bb7e_1    conda-forge
r-pkgconfig               2.0.3             r41hc72bb7e_2    conda-forge
r-pkgload                 1.3.2             r41hc72bb7e_0    conda-forge
r-plyr                    1.8.8             r41h7525677_0    conda-forge
r-praise                  1.0.0           r41hc72bb7e_1006    conda-forge
r-processx                3.8.0             r41h06615bd_0    conda-forge
r-ps                      1.7.2             r41h06615bd_0    conda-forge
r-r6                      2.5.1             r41hc72bb7e_1    conda-forge
r-rcolorbrewer            1.1_3             r41h785f33e_1    conda-forge
r-rcpp                    1.0.9             r41h7525677_0    conda-forge
r-rematch2                2.1.2             r41hc72bb7e_2    conda-forge
r-reshape                 0.8.9             r41hc72bb7e_1    conda-forge
r-rlang                   1.0.6             r41h7525677_1    conda-forge
r-rprojroot               2.0.3             r41hc72bb7e_1    conda-forge
r-scales                  1.2.1             r41hc72bb7e_1    conda-forge
r-testthat                3.1.5             r41h7525677_1    conda-forge
r-tibble                  3.1.8             r41h06615bd_1    conda-forge
r-utf8                    1.2.2             r41h06615bd_1    conda-forge
r-vctrs                   0.5.1             r41h7525677_0    conda-forge
r-viridislite             0.4.1             r41hc72bb7e_1    conda-forge
r-waldo                   0.4.0             r41hc72bb7e_1    conda-forge
r-withr                   2.5.0             r41hc72bb7e_1    conda-forge
raxml-ng                  1.1.0                h22e3c99_1    bioconda
readline                  8.1.2                h0f457ee_0    conda-forge
requests                  2.28.1                   pypi_0    pypi
requests-toolbelt         0.10.1                   pypi_0    pypi
retry-decorator           1.1.1                    pypi_0    pypi
retry_decorator           1.1.1              pyh9f0ad1d_0    conda-forge
rsa                       4.9                      pypi_0    pypi
samtools                  1.16.1               h6899075_1    bioconda
sed                       4.8                  he412f7d_0    conda-forge
seqtk                     1.4                  he4a0461_1    bioconda
setuptools                65.5.1                   pypi_0    pypi
sierrapy                  0.4.3                    pypi_0    pypi
six                       1.16.0                   pypi_0    pypi
socksipy-branch           1.1                      pypi_0    pypi
spades                    3.14.1               h95f258a_2    bioconda
sra-tools                 3.0.5                h9f5acd7_1    bioconda
sysroot_linux-64          2.12                he073ed8_15    conda-forge
tabixpp                   1.1.0               h470d46e_11    bioconda
tbb                       2021.7.0             h924138e_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
tktable                   2.10                 hb7b940f_3    conda-forge
tqdm                      4.64.1                   pypi_0    pypi
trimmomatic               0.39                 hdfd78af_2    bioconda
typing-extensions         4.4.0                    pypi_0    pypi
typing_extensions         4.4.0              pyha770c72_0    conda-forge
tzdata                    2022f                h191b570_0    conda-forge
urllib3                   1.26.11                  pypi_0    pypi
vcflib                    1.0.3                ha04fe3b_2    bioconda
voluptuous                0.13.1                   pypi_0    pypi
wget                      1.20.3               ha56f1ee_1    conda-forge
wheel                     0.38.4                   pypi_0    pypi
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-libxt                1.2.1                h7f98852_2    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
yarl                      1.8.1           py310h5764c6d_0    conda-forge
zlib                      1.2.13               h166bdaf_4    conda-forge
zstd                      1.5.2                h6239696_4    conda-forge

Additional Context

No response

travishathaway commented 1 year ago

Hi @geofrunz,

Thanks for filing this issue. Is there a reason you have the following channels defined in your .condarc file?

  - python3.6/linux-64
  - python3.1
  - python
  - python3.6

Those channels are not normally necessary. I doubt that the python3.1 even exists, which is most likely why you are seeing that error.

To remedy this, simply remove those lines.

geofrunz commented 1 year ago

Thank you so much, It solved the problem. Actually, I don't know when they were added... surely I didn't do it actively, maybe during the installation of some packages. Thank you again Giovanni

Il giorno ven 9 giu 2023 alle ore 12:39 Travis Hathaway < @.***> ha scritto:

Hi @geofrunz https://github.com/geofrunz,

Thanks for filing this issue. Is there a reason you have the following channels defined in your .condarc file?

  • python3.6/linux-64
  • python3.1
  • python
  • python3.6

Those channels are not normally necessary. I doubt that the python3.1 even exists, which is most likely why you are seeing that error.

To remedy this, simply remove those lines.

— Reply to this email directly, view it on GitHub https://github.com/conda/conda/issues/12785#issuecomment-1584366334, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACF43AF7EANP5WOYLO3QTNTXKL4MVANCNFSM6AAAAAAZALXAVI . You are receiving this because you were mentioned.Message ID: @.***>