Skip to main content
Divyanshu Singh
Participating Frequently
Sep 2, 2022 2:29 PM UTC

Problem installing Rocket free tools from channel in miniconda

Hi,
I have miniconda installted and I am trying to install some tools using it, but it is showing some channel error.
This is what I am doing -

1. I have Miniconda installed in - /shrd/miniconda/v2
2. I have a environment named Rocket inside - /shrd/miniconda/v2/envs/Rocket
3. I have the Channel name inside the file - /shrd/miniconda/v2/.condarc 
                             What's inside .condarc :
                                                            add_pip_as_python_dependency: False
                                                            channel_alias: https://anaconda.org/
                                                            channels:
                                                                              - zoss-appdev

4. I have a file named appdev_manifest inside - /shrd/miniconda
5.  So when I am running the following command I am getting error: 
                                      conda install - -file /shrd/miniconda/appdev_manifest_1.2.txt


ERROR I AM GETTING:
bash-4.3$ conda activate Rocket
(Rocket) bash-4.3$ conda install --file /shrd/miniconda/appdev_manifest_1.2.txt
Solving environment: failed

CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
Elapsed: 00:00.563552
CF-RAY: 74484c00ecfa7e80-LAX

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>.

What Should I do to install products or packages with conda ??


------------------------------
Divyanshu Singh
MVS system programmer
BMC Software
Kanpur IN
------------------------------

    7 replies

    Alexander Klochkov
    Rocketeer
    Sep 5, 2022 3:40 AM UTC
    Hi,
    I have miniconda installted and I am trying to install some tools using it, but it is showing some channel error.
    This is what I am doing -

    1. I have Miniconda installed in - /shrd/miniconda/v2
    2. I have a environment named Rocket inside - /shrd/miniconda/v2/envs/Rocket
    3. I have the Channel name inside the file - /shrd/miniconda/v2/.condarc 
                                 What's inside .condarc :
                                                                add_pip_as_python_dependency: False
                                                                channel_alias: https://anaconda.org/
                                                                channels:
                                                                                  - zoss-appdev

    4. I have a file named appdev_manifest inside - /shrd/miniconda
    5.  So when I am running the following command I am getting error: 
                                          conda install - -file /shrd/miniconda/appdev_manifest_1.2.txt


    ERROR I AM GETTING:
    bash-4.3$ conda activate Rocket
    (Rocket) bash-4.3$ conda install --file /shrd/miniconda/appdev_manifest_1.2.txt
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
    Elapsed: 00:00.563552
    CF-RAY: 74484c00ecfa7e80-LAX

    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>.

    What Should I do to install products or packages with conda ??


    ------------------------------
    Divyanshu Singh
    MVS system programmer
    BMC Software
    Kanpur IN
    ------------------------------
    Hi Divyanshu Singh,

    Just delete 2nd line in your .condarc (line with channel alias) and try again.

    Thanks,
    Alex


    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius LT
    ------------------------------
    Divyanshu Singh
    Participating Frequently
    Sep 5, 2022 2:24 PM UTC
    Hi Divyanshu Singh,

    Just delete 2nd line in your .condarc (line with channel alias) and try again.

    Thanks,
    Alex


    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius LT
    ------------------------------
    Hi Alex,

    I tried that, I removed the channel alias from .condarc file, but then too it not works!!
    .condarc :
    add_pip_as_python_dependency: False
    channels:
    - zoss-appdev/unzip

    Error:
    (Rocket) bash-4.3$ conda install --file /shrd/miniconda/appdev_manifest_1.2.txt
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
    Elapsed: 00:00.583409
    CF-RAY: 7460fdf24eec7e10-LAX

    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>.

    (Rocket) bash-4.3$

    Am I giving any wrong Install command?? 


    ------------------------------
    Divyanshu Singh
    MVS system programmer
    BMC Software
    Kanpur IN
    ------------------------------
    Divyanshu Singh
    Participating Frequently
    Sep 5, 2022 3:10 PM UTC
    Hi Divyanshu Singh,

    Just delete 2nd line in your .condarc (line with channel alias) and try again.

    Thanks,
    Alex


    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius LT
    ------------------------------
    Hi Alex,

    I have tried removing the channel alias from the .condarc file, but then too it shows the same error.

    .condarc:
    add_pip_as_python_dependency: False
    channels:
    - zoss-appdev

    Error:
    (Rocket) bash-4.3$ conda install --file /shrd/miniconda/appdev_manifest_1.2.txt
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url https://anaconda.org/zoss-appdev/noarch/repodata.json">https://anaconda.org/zoss-appdev/noarch/repodata.json
    Elapsed: 00:00.583409
    CF-RAY: 7460fdf24eec7e10-LAX

    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.

    Am I giving any wrong Install commands??
    I want this to work properly --> Rocket Open AppDev for Z (free solution)
    z/OS Miniconda installer for users not on paid support contract. z/OS ports will be downloaded from our conda channel server at anaconda.org.
    Alexander Klochkov
    Rocketeer
    Sep 5, 2022 3:13 PM UTC
    Hi Alex,

    I tried that, I removed the channel alias from .condarc file, but then too it not works!!
    .condarc :
    add_pip_as_python_dependency: False
    channels:
    - zoss-appdev/unzip

    Error:
    (Rocket) bash-4.3$ conda install --file /shrd/miniconda/appdev_manifest_1.2.txt
    Solving environment: failed

    CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
    Elapsed: 00:00.583409
    CF-RAY: 7460fdf24eec7e10-LAX

    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>.

    (Rocket) bash-4.3$

    Am I giving any wrong Install command?? 


    ------------------------------
    Divyanshu Singh
    MVS system programmer
    BMC Software
    Kanpur IN
    ------------------------------

    Hi Divyanshu Singh,

    Let's check all your config, please give the output of the following command:
    conda config --show-sources
    Also as I see you have "  - zoss-appdev/unzip" as a channel, it should be "  - zoss-appdev"

    Thanks,
    Alex



    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius LT
    ------------------------------
    Divyanshu Singh
    Participating Frequently
    Sep 5, 2022 3:19 PM UTC

    Hi Divyanshu Singh,

    Let's check all your config, please give the output of the following command:
    conda config --show-sources
    Also as I see you have "  - zoss-appdev/unzip" as a channel, it should be "  - zoss-appdev"

    Thanks,
    Alex



    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius LT
    ------------------------------
    Hi Alex,

    This is the output of --> conda config --show-sources

    bash-4.3$ conda activate Rocket
    (Rocket) bash-4.3$ conda config --show-sources
    ==> /shrd/miniconda/v2/.condarc <==
    add_pip_as_python_dependency: False
    channels:
    - zoss-appdev

    ==> /u/cstdys/.condarc <==
    channel_priority: False
    channels:
    - https://anaconda.org/zoss-appdev
    - https://repo.anaconda.com/pkgs/main/noarch/
    report_errors: False

    (Rocket) bash-4.3$

    And I might have to change it in the email, but I got it change in the file. Sorry for the confusion created!!
    Divyanshu Singh
    Participating Frequently
    Sep 5, 2022 3:38 PM UTC

    Hi Divyanshu Singh,

    Let's check all your config, please give the output of the following command:
    conda config --show-sources
    Also as I see you have "  - zoss-appdev/unzip" as a channel, it should be "  - zoss-appdev"

    Thanks,
    Alex



    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius LT
    ------------------------------
    Hi Alex,

    I made the same changes to .condarc inside /u/cstdys and tried to install it.
    channel_priority: false
    channels:

    * zoss-appdev
    It worked this time.

    Thanks for your support.
    Divyanshu.
    Alexander Klochkov
    Rocketeer
    Sep 5, 2022 3:56 PM UTC
    Hi Alex,

    I made the same changes to .condarc inside /u/cstdys and tried to install it.
    channel_priority: false
    channels:

    * zoss-appdev
    It worked this time.

    Thanks for your support.
    Divyanshu.
    nice

    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius LT
    ------------------------------