Skip to main content
Sathiyamoorthy Rajaram
New Participant
Feb 16, 2021 5:23 AM UTC
Solved

CondaHTTPError: HTTP 404 NOT FOUND for url

Hi Team,

We have recently installed Miniconda on zOS and getting below error. Can you please check and suggest.
Warning message during install

WARNING: could not import _license.show_info
# try:
# $ conda install -n root _license

So issued below command  and got 404 error.
 
bash-4.3$ conda install -n root _license
Solving environment: failed

CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
Elapsed: 00:01.095910
CF-RAY: 621fa9a6ee7b0e4e-DFW

The remote server could not find the noarch directory for the
requested channel with url: https://anaconda.org/zoss-appdev

As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
empty. please request that the channel administrator create
`noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
$ mkdir noarch
$ echo '{}' > noarch/repodata.json
$ bzip2 -k noarch/repodata.json

You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state.
Further configuration help can be found at <https://conda.io/docs/config.html>.

Please let us know if you need any other details.

Regards,
Sathya
    Alexander Klochkov
    Rocketeer
    Feb 16, 2021 8:43 AM UTC
    Hi Team,

    We have recently installed Miniconda on zOS and getting below error. Can you please check and suggest.
    Warning message during install

    WARNING: could not import _license.show_info
    # try:
    # $ conda install -n root _license

    So issued below command  and got 404 error.
     
    bash-4.3$ conda install -n root _license
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
    Elapsed: 00:01.095910
    CF-RAY: 621fa9a6ee7b0e4e-DFW

    The remote server could not find the noarch directory for the
    requested channel with url: https://anaconda.org/zoss-appdev

    As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
    associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
    empty. please request that the channel administrator create
    `noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
    $ mkdir noarch
    $ echo '{}' > noarch/repodata.json
    $ bzip2 -k noarch/repodata.json

    You will need to adjust your conda configuration to proceed.
    Use `conda config --show channels` to view your configuration's current state.
    Further configuration help can be found at <https://conda.io/docs/config.html>.

    Please let us know if you need any other details.

    Regards,
    Sathya
    Can you try following:
    conda config --set channel_alias https://conda.anaconda.org
    conda search -vv python -c zoss-appdev

    Thanks

    7 replies

    Alexander Klochkov
    Rocketeer
    Feb 16, 2021 7:21 AM UTC
    Hi Team,

    We have recently installed Miniconda on zOS and getting below error. Can you please check and suggest.
    Warning message during install

    WARNING: could not import _license.show_info
    # try:
    # $ conda install -n root _license

    So issued below command  and got 404 error.
     
    bash-4.3$ conda install -n root _license
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
    Elapsed: 00:01.095910
    CF-RAY: 621fa9a6ee7b0e4e-DFW

    The remote server could not find the noarch directory for the
    requested channel with url: https://anaconda.org/zoss-appdev

    As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
    associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
    empty. please request that the channel administrator create
    `noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
    $ mkdir noarch
    $ echo '{}' > noarch/repodata.json
    $ bzip2 -k noarch/repodata.json

    You will need to adjust your conda configuration to proceed.
    Use `conda config --show channels` to view your configuration's current state.
    Further configuration help can be found at <https://conda.io/docs/config.html>.

    Please let us know if you need any other details.

    Regards,
    Sathya
    Hi Sathiyamoorthy Rajaram,

    Please attach output of the following command:
    conda config --show-sources

    Thanks,
    Alex
    Sathiyamoorthy Rajaram
    New Participant
    Feb 16, 2021 8:17 AM UTC
    Hi Team,

    We have recently installed Miniconda on zOS and getting below error. Can you please check and suggest.
    Warning message during install

    WARNING: could not import _license.show_info
    # try:
    # $ conda install -n root _license

    So issued below command  and got 404 error.
     
    bash-4.3$ conda install -n root _license
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
    Elapsed: 00:01.095910
    CF-RAY: 621fa9a6ee7b0e4e-DFW

    The remote server could not find the noarch directory for the
    requested channel with url: https://anaconda.org/zoss-appdev

    As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
    associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
    empty. please request that the channel administrator create
    `noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
    $ mkdir noarch
    $ echo '{}' > noarch/repodata.json
    $ bzip2 -k noarch/repodata.json

    You will need to adjust your conda configuration to proceed.
    Use `conda config --show channels` to view your configuration's current state.
    Further configuration help can be found at <https://conda.io/docs/config.html>.

    Please let us know if you need any other details.

    Regards,
    Sathya
    Hi Alex,

    I got below output

    bash-4.3$ conda config --show-sources
    ==> /usr/lpp/miniconda/miniconda1.2.1/.condarc <==
    add_pip_as_python_dependency: False

    bash-4.3$

    Regards,
    Sathya
    Alexander Klochkov
    Rocketeer
    Feb 16, 2021 8:43 AM UTC
    Hi Team,

    We have recently installed Miniconda on zOS and getting below error. Can you please check and suggest.
    Warning message during install

    WARNING: could not import _license.show_info
    # try:
    # $ conda install -n root _license

    So issued below command  and got 404 error.
     
    bash-4.3$ conda install -n root _license
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
    Elapsed: 00:01.095910
    CF-RAY: 621fa9a6ee7b0e4e-DFW

    The remote server could not find the noarch directory for the
    requested channel with url: https://anaconda.org/zoss-appdev

    As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
    associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
    empty. please request that the channel administrator create
    `noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
    $ mkdir noarch
    $ echo '{}' > noarch/repodata.json
    $ bzip2 -k noarch/repodata.json

    You will need to adjust your conda configuration to proceed.
    Use `conda config --show channels` to view your configuration's current state.
    Further configuration help can be found at <https://conda.io/docs/config.html>.

    Please let us know if you need any other details.

    Regards,
    Sathya
    Can you try following:
    conda config --set channel_alias https://conda.anaconda.org
    conda search -vv python -c zoss-appdev

    Thanks
    Sathiyamoorthy Rajaram
    New Participant
    Feb 16, 2021 9:04 AM UTC
    Hi Team,

    We have recently installed Miniconda on zOS and getting below error. Can you please check and suggest.
    Warning message during install

    WARNING: could not import _license.show_info
    # try:
    # $ conda install -n root _license

    So issued below command  and got 404 error.
     
    bash-4.3$ conda install -n root _license
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
    Elapsed: 00:01.095910
    CF-RAY: 621fa9a6ee7b0e4e-DFW

    The remote server could not find the noarch directory for the
    requested channel with url: https://anaconda.org/zoss-appdev

    As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
    associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
    empty. please request that the channel administrator create
    `noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
    $ mkdir noarch
    $ echo '{}' > noarch/repodata.json
    $ bzip2 -k noarch/repodata.json

    You will need to adjust your conda configuration to proceed.
    Use `conda config --show channels` to view your configuration's current state.
    Further configuration help can be found at <https://conda.io/docs/config.html>.

    Please let us know if you need any other details.

    Regards,
    Sathya
    I got below output now

    bash-4.3$ conda config --set channel_alias https://conda.anaconda.org
    bash-4.3$ conda search -vv python -c zoss-appdev
    DEBUG conda.gateways.logging:set_verbosity(148): verbosity set to 2
    Loading channels: ...working... DEBUG conda.core.package_cache_data:_check_writable(237): package cache directory '/usr/lpp/miniconda/miniconda1.2.1/pkgs' writable: False
    DEBUG conda.core.package_cache_data:_check_writable(237): package cache directory '/u/sys1227/.conda/pkgs' writable: True
    DEBUG conda.core.subdir_data:_load(182): No local cache found for https://repo.anaconda.com/pkgs/pro/noarch at /u/sys1227/.conda/pkgs/cache/5fa16146.json
    DEBUG urllib3.util.retry:from_int(210): Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None)
    DEBUG urllib3.connectionpool:_new_conn(823): Starting new HTTPS connection (1): repo.anaconda.com:443
    DEBUG urllib3.connectionpool:_make_request(393): https://repo.anaconda.com:443 "GET /pkgs/pro/noarch/repodata.json.bz2 HTTP/1.1" 200 110
    DEBUG conda.core.subdir_data:fetch_repodata_remote_request(439):
    >>GET /pkgs/pro/noarch/repodata.json.bz2 HTTPS
    > User-Agent: conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.3 z/OS/0
    > Accept: */*
    > Accept-Encoding: identity
    > Connection: keep-alive

    <<HTTPS 200 OK
    < Accept-Ranges: bytes
    < Age: 1487458
    < Cache-Control: public, max-age=30
    < CF-Cache-Status: HIT
    < CF-RAY: 6227cece0ca62fc1-DFW
    < cf-request-id: 084cbf94c000002fc101b8a000000001
    < Content-Type: application/json
    < Date: Tue, 16 Feb 2021 14:02:42 GMT
    < ETag: "a03a8ce02144dee86add4a372c6c86b7"
    < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    < Expires: Tue, 16 Feb 2021 14:03:12 GMT
    < Last-Modified: Mon, 29 Jul 2019 16:31:07 GMT
    < Server: cloudflare
    < Set-Cookie: __cfduid=d28117830b60177072b53b04f400f36131613484162; expires=Thu, 18-Mar-21 14:02:42 GMT; path=/; domain=.anaconda.com; HttpOnly; SameSite=Lax; Secure
    < Vary: Accept-Encoding
    < x-amz-id-2: vYuPy5orBVOfjwRhp2AQECFIMaMEhCrfmwpxGE1BHDLX0i8aEx/EnlzjAna4s2ioR6mOgOUmYuE=
    < x-amz-request-id: 2F8982702120291F
    < x-amz-version-id: Fw6ArpN00K7Xk49oOSvA_4Bn9n126rut
    < Content-Length: 110
    < Connection: keep-alive
    < Elapsed: 00:00.617980

    DEBUG conda.core.subdir_data:_pickle_me(253): Saving pickled state for https://repo.anaconda.com/pkgs/pro/noarch at /u/sys1227/.conda/pkgs/cache/5fa16146.json
    DEBUG conda.core.subdir_data:_load(182): No local cache found for https://conda.anaconda.org/zoss-appdev/noarch at /u/sys1227/.conda/pkgs/cache/b5e28891.json
    DEBUG urllib3.connectionpool:_new_conn(823): Starting new HTTPS connection (1): conda.anaconda.org:443
    DEBUG urllib3.connectionpool:_make_request(393): https://conda.anaconda.org:443 "GET /zoss-appdev/noarch/repodata.json HTTP/1.1" 200 None
    DEBUG conda.core.subdir_data:fetch_repodata_remote_request(439):
    >>GET /zoss-appdev/noarch/repodata.json HTTPS
    > User-Agent: conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.3 z/OS/0
    > Accept: */*
    > Accept-Encoding: gzip, deflate, compress, identity
    > Connection: keep-alive
    > Content-Type: application/json

    <<HTTPS 200 OK
    < CF-Cache-Status: DYNAMIC
    < CF-Ray: 6227ced06aa90f3e-DFW
    < cf-request-id: 084cbf964200000f3e8993a000000001
    < Conda-File-Cache: hit
    < Content-Encoding: gzip
    < Content-Type: application/json
    < Date: Tue, 16 Feb 2021 14:02:42 GMT
    < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    < Last-Modified: Mon, 18 Jan 2021 15:49:56 GMT
    < Server: cloudflare
    < Set-Cookie: __cfduid=da15f7eb9ca549795f367d888fd3cb39e1613484162; expires=Thu, 18-Mar-21 14:02:42 GMT; path=/; domain=.anaconda.org; HttpOnly; SameSite=Lax, session=eyJfaWQiOnsiIGIiOiJPR05oTURoa09XUTFOakppWWpnNVpUQXpPVGswTlRBNE5qWTNOek14WTJVPSJ9fQ.YCvQgg.bZG-xrf0pPbZvg_5VaRi0g0TVJc; Domain=.anaconda.org; HttpOnly; Path=/, __cf_bm=dd8ad9ad714964a94d0087f4d0a9ab4fed447e9d-1613484162-1800-AU/vl8qcLSdpzkbrpbcGY/MD+foubM14yokvgXLnUmtSOkeK1YuEWQ2vQkplOpAHNQ==; path=/; expires=Tue, 16-Feb-21 14:32:42 GMT; domain=.anaconda.org; HttpOnly; Secure; SameSite=None, __cf_bm=afcf3e4f1e983f89c83954391780e75e389382f6-1613484162-1800-AdGnXX0qpaADtMrXc0igogiwSJmpZoyVepgFzPMjZI68jFnRyb31QjHmDCQi5yWZYOVJnz3JGX2CeU+Xw2PkUcoC5NXgpV00SzNltUoV1FqZ; path=/; expires=Tue, 16-Feb-21 14:32:42 GMT; domain=.anaconda.org; HttpOnly; Secure; SameSite=None
    < Strict-Transport-Security: max-age=31536000
    < Transfer-Encoding: chunked
    < Vary: Accept-Encoding
    < Connection: keep-alive
    < Elapsed: 00:00.574810

    DEBUG conda.core.subdir_data:_pickle_me(253): Saving pickled state for https://conda.anaconda.org/zoss-appdev/noarch at /u/sys1227/.conda/pkgs/cache/b5e28891.json
    DEBUG conda.core.subdir_data:_load(182): No local cache found for https://repo.anaconda.com/pkgs/r/noarch at /u/sys1227/.conda/pkgs/cache/4ea078d6.json
    DEBUG urllib3.connectionpool:_make_request(393): https://repo.anaconda.com:443 "GET /pkgs/r/noarch/repodata.json.bz2 HTTP/1.1" 200 385953
    DEBUG conda.core.subdir_data:fetch_repodata_remote_request(439):
    >>GET /pkgs/r/noarch/repodata.json.bz2 HTTPS
    > User-Agent: conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.3 z/OS/0
    > Accept: */*
    > Accept-Encoding: identity
    > Connection: keep-alive
    > Cookie: __cfduid=d28117830b60177072b53b04f400f36131613484162

    <<HTTPS 200 OK
    < Accept-Ranges: bytes
    < Age: 2
    < Cache-Control: public, max-age=30
    < CF-Cache-Status: HIT
    < CF-RAY: 6227ced22a292fc1-DFW
    < cf-request-id: 084cbf975b00002fc16da53000000001
    < Content-Type: application/x-tar
    < Date: Tue, 16 Feb 2021 14:02:42 GMT
    < ETag: "64ae8aa9c5ce8b0cfb2d58ecf2ba0b00"
    < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    < Expires: Tue, 16 Feb 2021 14:03:12 GMT
    < Last-Modified: Tue, 16 Feb 2021 14:02:25 GMT
    < Server: cloudflare
    < Vary: Accept-Encoding
    < x-amz-id-2: EO79bzMNXuGGvPp4qSFxEnPgP8y+HD906bAFToIDpUEBWDJ5sgUNccdkp5B8urLGZU6HKg1lT7k=
    < x-amz-request-id: F633DEF69D024C9E
    < x-amz-version-id: grxn8gaNgQ2nxsZYzAZA0YCvqVMO6ndI
    < Content-Length: 385953
    < Connection: keep-alive
    < Elapsed: 00:00.020870

    DEBUG conda.core.subdir_data:_pickle_me(253): Saving pickled state for https://repo.anaconda.com/pkgs/r/noarch at /u/sys1227/.conda/pkgs/cache/4ea078d6.json
    DEBUG conda.core.subdir_data:_load(182): No local cache found for https://repo.anaconda.com/pkgs/free/noarch at /u/sys1227/.conda/pkgs/cache/d77296e0.json
    DEBUG urllib3.connectionpool:_make_request(393): https://repo.anaconda.com:443 "GET /pkgs/free/noarch/repodata.json.bz2 HTTP/1.1" 200 1928
    DEBUG conda.core.subdir_data:fetch_repodata_remote_request(439):
    >>GET /pkgs/free/noarch/repodata.json.bz2 HTTPS
    > User-Agent: conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.3 z/OS/0
    > Accept: */*
    > Accept-Encoding: identity
    > Connection: keep-alive
    > Cookie: __cfduid=d28117830b60177072b53b04f400f36131613484162

    <<HTTPS 200 OK
    < Accept-Ranges: bytes
    < Age: 6
    < Cache-Control: public, max-age=30
    < CF-Cache-Status: HIT
    < CF-RAY: 6227cf0c3af22fc1-DFW
    < cf-request-id: 084cbfbb9e00002fc199827000000001
    < Content-Type: application/x-tar
    < Date: Tue, 16 Feb 2021 14:02:52 GMT
    < ETag: "b23fbf0113c7195c9a87e96d1a6431f7"
    < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    < Expires: Tue, 16 Feb 2021 14:03:22 GMT
    < Last-Modified: Tue, 16 Feb 2021 14:02:37 GMT
    < Server: cloudflare
    < Vary: Accept-Encoding
    < x-amz-id-2: xR4OBLfadED89lH1/At+DD+Xueypy5OApxHzFgA/5K56JqutCO5Goog34PtkL7RM9b+H0kb+Xrk=
    < x-amz-request-id: 86D518A6E9F714BE
    < x-amz-version-id: g2VWI._6a7jHVClhwxC.mTwCi9XpEXX2
    < Content-Length: 1928
    < Connection: keep-alive
    < Elapsed: 00:00.019398

    DEBUG conda.core.subdir_data:_pickle_me(253): Saving pickled state for https://repo.anaconda.com/pkgs/free/noarch at /u/sys1227/.conda/pkgs/cache/d77296e0.json
    DEBUG conda.core.subdir_data:_load(182): No local cache found for https://repo.anaconda.com/pkgs/main/zos-z at /u/sys1227/.conda/pkgs/cache/b39e3920.json
    DEBUG urllib3.connectionpool:_make_request(393): https://repo.anaconda.com:443 "GET /pkgs/main/zos-z/repodata.json.bz2 HTTP/1.1" 200 125
    DEBUG conda.core.subdir_data:fetch_repodata_remote_request(439):
    >>GET /pkgs/main/zos-z/repodata.json.bz2 HTTPS
    > User-Agent: conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.3 z/OS/0
    > Accept: */*
    > Accept-Encoding: identity
    > Connection: keep-alive
    > Cookie: __cfduid=d28117830b60177072b53b04f400f36131613484162

    <<HTTPS 200 OK
    < Accept-Ranges: bytes
    < Age: 86018
    < Cache-Control: public, max-age=30
    < CF-Cache-Status: HIT
    < CF-RAY: 6227cf0c9b8f2fc1-DFW
    < cf-request-id: 084cbfbbde00002fc165b39000000001
    < Content-Type: application/json
    < Date: Tue, 16 Feb 2021 14:02:52 GMT
    < ETag: "ddf2ccc7d7c67832edfe658f4bd009a0"
    < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    < Expires: Tue, 16 Feb 2021 14:03:22 GMT
    < Last-Modified: Sun, 19 May 2019 04:48:42 GMT
    < Server: cloudflare
    < Vary: Accept-Encoding
    < x-amz-id-2: PHGdJ8aanz9nB+zxTMLvq6ecyg0zwU21A4HVy/gVyi7zyA23zBOfG6QNxo9wnGeTAh7D/0Y6KMU=
    < x-amz-request-id: 72CFEC769505AEF4
    < x-amz-version-id: Dkp_nlwU049tx2Z8ATpwJ_OUunP86k7P
    < Content-Length: 125
    < Connection: keep-alive
    < Elapsed: 00:00.016732

    DEBUG conda.core.subdir_data:_pickle_me(253): Saving pickled state for https://repo.anaconda.com/pkgs/main/zos-z at /u/sys1227/.conda/pkgs/cache/b39e3920.json
    DEBUG conda.core.subdir_data:_load(182): No local cache found for https://repo.anaconda.com/pkgs/main/noarch at /u/sys1227/.conda/pkgs/cache/3e39a7aa.json
    DEBUG urllib3.connectionpool:_make_request(393): https://repo.anaconda.com:443 "GET /pkgs/main/noarch/repodata.json.bz2 HTTP/1.1" 200 452255
    DEBUG conda.core.subdir_data:fetch_repodata_remote_request(439):
    >>GET /pkgs/main/noarch/repodata.json.bz2 HTTPS
    > User-Agent: conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.3 z/OS/0
    > Accept: */*
    > Accept-Encoding: identity
    > Connection: keep-alive
    > Cookie: __cfduid=d28117830b60177072b53b04f400f36131613484162

    <<HTTPS 200 OK
    < Accept-Ranges: bytes
    < Age: 4
    < Cache-Control: public, max-age=30
    < CF-Cache-Status: HIT
    < CF-RAY: 6227cf0ccbc62fc1-DFW
    < cf-request-id: 084cbfbbfb00002fc16c1f6000000001
    < Content-Type: application/x-tar
    < Date: Tue, 16 Feb 2021 14:02:52 GMT
    < ETag: "9edb34eb3277539680cd125144c02e7c"
    < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    < Expires: Tue, 16 Feb 2021 14:03:22 GMT
    < Last-Modified: Tue, 16 Feb 2021 14:02:19 GMT
    < Server: cloudflare
    < Vary: Accept-Encoding
    < x-amz-id-2: +HqCdkNKTEu9MYu54icfOhmBlKzIyz/AYdgX3tjJPMdjFsCVmFjjAPf33Hbv79h2BjR47eB3vzM=
    < x-amz-request-id: AE39F92DB378BA02
    < x-amz-version-id: OlRdTu4ANRr.cColXrVHwFb0WaDuRPGV
    < Content-Length: 452255
    < Connection: keep-alive
    < Elapsed: 00:00.019961

    DEBUG conda.core.subdir_data:_pickle_me(253): Saving pickled state for https://repo.anaconda.com/pkgs/main/noarch at /u/sys1227/.conda/pkgs/cache/3e39a7aa.json
    DEBUG conda.core.subdir_data:_load(182): No local cache found for https://repo.anaconda.com/pkgs/free/zos-z at /u/sys1227/.conda/pkgs/cache/ee7722eb.json
    DEBUG urllib3.connectionpool:_make_request(393): https://repo.anaconda.com:443 "GET /pkgs/free/zos-z/repodata.json.bz2 HTTP/1.1" 200 117
    DEBUG conda.core.subdir_data:fetch_repodata_remote_request(439):
    >>GET /pkgs/free/zos-z/repodata.json.bz2 HTTPS
    > User-Agent: conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.3 z/OS/0
    > Accept: */*
    > Accept-Encoding: identity
    > Connection: keep-alive
    > Cookie: __cfduid=d28117830b60177072b53b04f400f36131613484162

    <<HTTPS 200 OK
    < Accept-Ranges: bytes
    < Age: 86031
    < Cache-Control: public, max-age=30
    < CF-Cache-Status: HIT
    < CF-RAY: 6227cf2d6a632fc1-DFW
    < cf-request-id: 084cbfd06100002fc1103c2000000001
    < Content-Type: application/json
    < Date: Tue, 16 Feb 2021 14:02:57 GMT
    < ETag: "18c42701c4f2d3f12e988ca07d285046"
    < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    < Expires: Tue, 16 Feb 2021 14:03:27 GMT
    < Last-Modified: Fri, 15 Feb 2019 19:27:09 GMT
    < Server: cloudflare
    < Vary: Accept-Encoding
    < x-amz-id-2: lFTLqEcVuEsoq3EZZWgG7NqDdbdeoM+AhhkNuVJRnmW7ogsUl5KoPWlSm88P6ImCnM0ifk9MIY0=
    < x-amz-request-id: C61F965116105B9B
    < x-amz-version-id: Hrl5gbIjpfc0RbjunsPlxZVffZxMR.n7
    < Content-Length: 117
    < Connection: keep-alive
    < Elapsed: 00:00.021896

    DEBUG conda.core.subdir_data:_pickle_me(253): Saving pickled state for https://repo.anaconda.com/pkgs/free/zos-z at /u/sys1227/.conda/pkgs/cache/ee7722eb.json
    DEBUG conda.core.subdir_data:_load(182): No local cache found for https://repo.anaconda.com/pkgs/r/zos-z at /u/sys1227/.conda/pkgs/cache/d3d35421.json
    DEBUG urllib3.connectionpool:_make_request(393): https://repo.anaconda.com:443 "GET /pkgs/r/zos-z/repodata.json.bz2 HTTP/1.1" 200 125
    DEBUG conda.core.subdir_data:fetch_repodata_remote_request(439):
    >>GET /pkgs/r/zos-z/repodata.json.bz2 HTTPS
    > User-Agent: conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.3 z/OS/0
    > Accept: */*
    > Accept-Encoding: identity
    > Connection: keep-alive
    > Cookie: __cfduid=d28117830b60177072b53b04f400f36131613484162

    <<HTTPS 200 OK
    < Accept-Ranges: bytes
    < Age: 86032
    < Cache-Control: public, max-age=30
    < CF-Cache-Status: HIT
    < CF-RAY: 6227cf2d9abc2fc1-DFW
    < cf-request-id: 084cbfd08200002fc1cb070000000001
    < Content-Type: application/json
    < Date: Tue, 16 Feb 2021 14:02:57 GMT
    < ETag: "ddf2ccc7d7c67832edfe658f4bd009a0"
    < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    < Expires: Tue, 16 Feb 2021 14:03:27 GMT
    < Last-Modified: Sun, 19 May 2019 04:49:26 GMT
    < Server: cloudflare
    < Vary: Accept-Encoding
    < x-amz-id-2: mKg1PfJnhxIutSw/SO15vXGOIlcM+ObT3fMgK3xaLQWEIMsVtCWT+uSjOfpLvr0rfwe557FFWZ4=
    < x-amz-request-id: 0643EEFE645FD9B5
    < x-amz-version-id: XaBDXa17HyaMTvFxACn2mNrPN.PjHCuH
    < Content-Length: 125
    < Connection: keep-alive
    < Elapsed: 00:00.035931

    DEBUG conda.core.subdir_data:_pickle_me(253): Saving pickled state for https://repo.anaconda.com/pkgs/r/zos-z at /u/sys1227/.conda/pkgs/cache/d3d35421.json
    DEBUG conda.core.subdir_data:_load(182): No local cache found for https://repo.anaconda.com/pkgs/pro/zos-z at /u/sys1227/.conda/pkgs/cache/4c3a52c9.json
    DEBUG urllib3.connectionpool:_make_request(393): https://repo.anaconda.com:443 "GET /pkgs/pro/zos-z/repodata.json.bz2 HTTP/1.1" 200 40
    DEBUG conda.core.subdir_data:fetch_repodata_remote_request(439):
    >>GET /pkgs/pro/zos-z/repodata.json.bz2 HTTPS
    > User-Agent: conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.3 z/OS/0
    > Accept: */*
    > Accept-Encoding: identity
    > Connection: keep-alive
    > Cookie: __cfduid=d28117830b60177072b53b04f400f36131613484162

    <<HTTPS 200 OK
    < Accept-Ranges: bytes
    < Age: 86032
    < Cache-Control: public, max-age=30
    < CF-Cache-Status: HIT
    < CF-RAY: 6227cf2deb2c2fc1-DFW
    < cf-request-id: 084cbfd0b100002fc1f732f000000001
    < Content-Type: application/json
    < Date: Tue, 16 Feb 2021 14:02:57 GMT
    < ETag: "170328f6b1a5437b00582d73de86f2f5"
    < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    < Expires: Tue, 16 Feb 2021 14:03:27 GMT
    < Last-Modified: Tue, 14 Aug 2018 19:01:40 GMT
    < Server: cloudflare
    < Vary: Accept-Encoding
    < x-amz-id-2: K9DKSGA52ks7QAggDprFzbGURIMhYiPuXouWCq1CNNAfVn1uPHpp7Pk1xSmFBsP42tCNIUiItZg=
    < x-amz-request-id: 055CBBA42420E119
    < x-amz-version-id: enqVwAUjTVrxGQwwRpRkCbXr4QOCEYen
    < Content-Length: 40
    < Connection: keep-alive
    < Elapsed: 00:00.016218

    DEBUG conda.core.subdir_data:_pickle_me(253): Saving pickled state for https://repo.anaconda.com/pkgs/pro/zos-z at /u/sys1227/.conda/pkgs/cache/4c3a52c9.json
    DEBUG conda.core.subdir_data:_load(182): No local cache found for https://conda.anaconda.org/zoss-appdev/zos-z at /u/sys1227/.conda/pkgs/cache/344dc838.json
    DEBUG urllib3.connectionpool:_make_request(393): https://conda.anaconda.org:443 "GET /zoss-appdev/zos-z/repodata.json HTTP/1.1" 200 3233
    DEBUG conda.core.subdir_data:fetch_repodata_remote_request(439):
    >>GET /zoss-appdev/zos-z/repodata.json HTTPS
    > User-Agent: conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.3 z/OS/0
    > Accept: */*
    > Accept-Encoding: gzip, deflate, compress, identity
    > Connection: keep-alive
    > Content-Type: application/json
    > Cookie: __cf_bm=afcf3e4f1e983f89c83954391780e75e389382f6-1613484162-1800-AdGnXX0qpaADtMrXc0igogiwSJmpZoyVepgFzPMjZI68jFnRyb31QjHmDCQi5yWZYOVJnz3JGX2CeU+Xw2PkUcoC5NXgpV00SzNltUoV1FqZ; __cfduid=da15f7eb9ca549795f367d888fd3cb39e1613484162; session=eyJfaWQiOnsiIGIiOiJPR05oTURoa09XUTFOakppWWpnNVpUQXpPVGswTlRBNE5qWTNOek14WTJVPSJ9fQ.YCvQgg.bZG-xrf0pPbZvg_5VaRi0g0TVJc

    <<HTTPS 200 OK
    < CF-Cache-Status: DYNAMIC
    < CF-Ray: 6227cf2e1ff80f3e-DFW
    < cf-request-id: 084cbfd0cb00000f3e721f2000000001
    < Conda-File-Cache: miss
    < Conda-File-Cache-Reason: creating cache
    < Content-Encoding: gzip
    < Content-Type: application/json
    < Date: Tue, 16 Feb 2021 14:02:57 GMT
    < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    < Last-Modified: Mon, 18 Jan 2021 15:49:56 GMT
    < Server: cloudflare
    < Set-Cookie: session=eyJfZnJlc2giOmZhbHNlLCJfaWQiOnsiIGIiOiJPR05oTURoa09XUTFOakppWWpnNVpUQXpPVGswTlRBNE5qWTNOek14WTJVPSJ9fQ.YCvQkQ.fOsilIkQ9t3OJ9P1nzNOOdLD2-o; Domain=.anaconda.org; HttpOnly; Path=/
    < Strict-Transport-Security: max-age=31536000
    < Vary: Accept-Encoding
    < Content-Length: 3233
    < Connection: keep-alive
    < Elapsed: 00:00.416467

    DEBUG conda.core.subdir_data:_pickle_me(253): Saving pickled state for https://conda.anaconda.org/zoss-appdev/zos-z at /u/sys1227/.conda/pkgs/cache/344dc838.json
    done
    # Name Version Build Channel
    python 3.7.0 26 zoss-appdev
    bash-4.3$

    bash-4.3$ conda config --show-sources
    ==> /usr/lpp/miniconda/miniconda1.2.1/.condarc <==
    add_pip_as_python_dependency: False

    ==> /u/sys1227/.condarc <==
    channel_alias: https://conda.anaconda.org

    bash-4.3$
    Sathiyamoorthy Rajaram
    New Participant
    Feb 16, 2021 9:34 AM UTC
    Hi Team,

    We have recently installed Miniconda on zOS and getting below error. Can you please check and suggest.
    Warning message during install

    WARNING: could not import _license.show_info
    # try:
    # $ conda install -n root _license

    So issued below command  and got 404 error.
     
    bash-4.3$ conda install -n root _license
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev">https://anaconda.org/zoss-appdev/noarch/repodata.json>
    Elapsed: 00:01.095910
    CF-RAY: 621fa9a6ee7b0e4e-DFW

    The remote server could not find the noarch directory for the
    requested channel with url: https://anaconda.org/zoss-appdev">https://anaconda.org/zoss-appdev

    As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
    associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
    empty. please request that the channel administrator create
    `noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
    $ mkdir noarch
    $ echo '{}' > noarch/repodata.json
    $ bzip2 -k noarch/repodata.json

    You will need to adjust your conda configuration to proceed.
    Use `conda config --show channels` to view your configuration's current state.
    Further configuration help can be found at <https://conda.io/docs/config.html>.

    Please let us know if you need any other details.

    Regards,
    Sathya
    Thank you Alex.

    Now i'm able to create env. However unable to install git.
    Can you please check and suggest.

    bash-4.3$ conda create -n sathyaenv
    Solving environment: done

    ## Package Plan ##

    environment location: /usr/lpp/miniconda/miniconda1.2.1/envs/sathyaenv


    Proceed ([y]/n)? y

    Preparing transaction: done
    Verifying transaction: done
    Executing transaction: done
    #
    # To activate this environment, use
    #
    # $ conda activate sathyaenv
    #
    # To deactivate an active environment, use
    #
    # $ conda deactivate

    bash-4.3$


    (sathyaenv) bash-4.3$ conda install git
    Solving environment: failed

    PackagesNotFoundError: The following packages are not available from current channels:

    - git

    Current channels:

    - https://repo.anaconda.com/pkgs/main/zos-z
    - https://repo.anaconda.com/pkgs/main/noarch
    - https://repo.anaconda.com/pkgs/free/zos-z
    - https://repo.anaconda.com/pkgs/free/noarch
    - https://repo.anaconda.com/pkgs/r/zos-z
    - https://repo.anaconda.com/pkgs/r/noarch
    - https://repo.anaconda.com/pkgs/pro/zos-z
    - https://repo.anaconda.com/pkgs/pro/noarch

    To search for alternate channels that may provide the conda package you're
    looking for, navigate to

    https://anaconda.org

    and use the search bar at the top of the page.


    (sathyaenv) bash-4.3$

    Regards,
    Sathya
    Sathiyamoorthy Rajaram
    New Participant
    Feb 16, 2021 10:40 AM UTC
    Hi Team,

    We have recently installed Miniconda on zOS and getting below error. Can you please check and suggest.
    Warning message during install

    WARNING: could not import _license.show_info
    # try:
    # $ conda install -n root _license

    So issued below command  and got 404 error.
     
    bash-4.3$ conda install -n root _license
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
    Elapsed: 00:01.095910
    CF-RAY: 621fa9a6ee7b0e4e-DFW

    The remote server could not find the noarch directory for the
    requested channel with url: https://anaconda.org/zoss-appdev

    As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
    associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
    empty. please request that the channel administrator create
    `noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
    $ mkdir noarch
    $ echo '{}' > noarch/repodata.json
    $ bzip2 -k noarch/repodata.json

    You will need to adjust your conda configuration to proceed.
    Use `conda config --show channels` to view your configuration's current state.
    Further configuration help can be found at <https://conda.io/docs/config.html>.

    Please let us know if you need any other details.

    Regards,
    Sathya
    I have installed git using URL

    (sathyaenv) bash-4.3$ conda install -c https://conda.anaconda.org/zoss-appdev git
    Solving environment: done

    ## Package Plan ##

    environment location: /usr/lpp/miniconda/miniconda1.2.1/envs/sathyaenv

    added / updated specs:
    - git


    The following packages will be downloaded:

    package | build
    ---------------------------|-----------------
    git-2.26.2 | pl524_78 65.2 MB zoss-appdev
    curl-7.66.0 | 1 7.2 MB zoss-appdev
    zlib-1.2.11 | 4 115 KB zoss-appdev
    expat-2.2.9 | 4 201 KB zoss-appdev
    bash-4.3.48 | 2 919 KB zoss-appdev
    openssl-1.0.2k | 5 6.4 MB zoss-appdev
    libtag-1.4 | 1 29 KB zoss-appdev
    perl-5.24.4 | 4 16.8 MB zoss-appdev
    ------------------------------------------------------------
    Total: 96.8 MB

    The following NEW packages will be INSTALLED:

    bash: 4.3.48-2 zoss-appdev
    curl: 7.66.0-1 zoss-appdev
    expat: 2.2.9-4 zoss-appdev
    git: 2.26.2-pl524_78 zoss-appdev
    libtag: 1.4-1 zoss-appdev
    openssl: 1.0.2k-5 zoss-appdev
    perl: 5.24.4-4 zoss-appdev
    zlib: 1.2.11-4 zoss-appdev

    Proceed ([y]/n)? y


    Downloading and Extracting Packages
    git-2.26.2 | 65.2 MB | ########## | 100%
    curl-7.66.0 | 7.2 MB | ########## | 100%
    zlib-1.2.11 | 115 KB | ########## | 100%
    expat-2.2.9 | 201 KB | ########## | 100%
    bash-4.3.48 | 919 KB | ########## | 100%
    openssl-1.0.2k | 6.4 MB | ########## | 100%
    libtag-1.4 | 29 KB | ########## | 100%
    perl-5.24.4 | 16.8 MB | ########## | 100%
    Preparing transaction: done
    Verifying transaction: done
    Executing transaction: done
    (sathyaenv) bash-4.3$

    Thanks Alex. i'll explore more on using the tools.

    Regards,
    Sathya
    Alexander Klochkov
    Rocketeer
    Feb 17, 2021 12:24 AM UTC
    Hi Team,

    We have recently installed Miniconda on zOS and getting below error. Can you please check and suggest.
    Warning message during install

    WARNING: could not import _license.show_info
    # try:
    # $ conda install -n root _license

    So issued below command  and got 404 error.
     
    bash-4.3$ conda install -n root _license
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
    Elapsed: 00:01.095910
    CF-RAY: 621fa9a6ee7b0e4e-DFW

    The remote server could not find the noarch directory for the
    requested channel with url: https://anaconda.org/zoss-appdev

    As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
    associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
    empty. please request that the channel administrator create
    `noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
    $ mkdir noarch
    $ echo '{}' > noarch/repodata.json
    $ bzip2 -k noarch/repodata.json

    You will need to adjust your conda configuration to proceed.
    Use `conda config --show channels` to view your configuration's current state.
    Further configuration help can be found at <https://conda.io/docs/config.html>.

    Please let us know if you need any other details.

    Regards,
    Sathya
    Hi Sathya,

    You can add this channel to config file and don't write "-c" with any install command:
    conda config --add channels https://conda.anaconda.org/zoss-appdev
    conda install git

    Thanks,
    Alexander