Can't install nodeworks via conda

Hello there,

My account is approved today, and I try to install nodeworks via conda, the command line is

conda install nodeworks -c https://mfix.netl.doe.gov/s3/e8...d1/89c980...17541/conda/dist

And it comes up

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

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

  - nodeworks

Current channels:

  - https://mfix.netl.doe.gov/s3/e8...d1/89c980...17541/conda/dist/osx-64
  - https://mfix.netl.doe.gov/s3/e8...d1/89c980...17541/conda/dist/noarch

What should I do?

Strange, that packages are there, what conda environment are you trying to install it into? I did just install it into a mfix environment, but it pulled nodeworks version 17.1.1 instead of the latest.

> conda search -c https://mfix.netl.doe.gov/s3/.../.../conda/dist | grep nodeworks
nodeworks                     17.1.0            py_0  s3/.../.../conda/dist
nodeworks                     17.1.1            py_0  s3/.../.../conda/dist
nodeworks                     19.1.0    pyhcfc1826_0  s3/.../.../conda/dist
nodeworks                     19.1.1    pyhe23cd3a_0  s3/.../.../conda/dist
nodeworks                     20.1.0            py_0  s3/.../.../conda/dist
nodeworks                     20.1.0    pyh22c4f0f_0  s3/.../.../conda/dist
nodeworks                     20.1.1            py_0  s3/.../.../conda/dist
nodeworks                     20.2.0            py_0  s3/.../.../conda/dist
nodeworks                     22.1.0            py_0  s3/.../.../conda/dist

maybe it is not finding the dependencies and conda is providing an errant message. Try adding the conda-forge channel to your install command:

conda install nodeworks -c https://mfix.netl.doe.gov/s3.../.../conda/dist -c conda-forge

My conda is the miniconda3 on macos, and the detailed info

 conda info

     active environment : nodeworks
    active env location : /Users/apple/opt/miniconda3/envs/nodeworks
            shell level : 2
       user config file : /Users/apple/.condarc
 populated config files : /Users/apple/.condarc
          conda version : 4.14.0
    conda-build version : not installed
         python version : 3.9.12.final.0
       virtual packages : __osx=10.16=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /Users/apple/opt/miniconda3  (writable)
      conda av data dir : /Users/apple/opt/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/osx-64  (offline)
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch  (offline)
                          ...
          package cache : /Users/apple/opt/miniconda3/pkgs
                          /Users/apple/.conda/pkgs
       envs directories : /Users/apple/opt/miniconda3/envs
                          /Users/apple/.conda/envs
               platform : osx-64
             user-agent : conda/4.14.0 requests/2.27.1 CPython/3.9.12 Darwin/21.6.0 OSX/10.16
                UID:GID : 501:20
             netrc file : None
           offline mode : True

And I also add conda-forge channel and try it, no lucky :frowning:

I open the link https://mfix.netl.doe.gov/s3/<key>/conda/dist/osx-64 in chrome browser, and get the message:

<Error>
<script type="text/javascript" src="chrome-extension://nhpjggchkhnlbgdfcbgpdpkifemomkpg/pageScripts/main.js"/>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>osx-64</Key>
<RequestId>AGJ6KQZV76KZ2VGE</RequestId>
<HostId>aHqLkteOReucQamIDLVzdOSaXpMTR3nMw7eTBUn0FTCDF2Ps3lt5bSFn1z4osjqMtWeXW3Psu24=</HostId>
</Error>

can you try:

conda search -c https://mfix.netl.doe.gov/s3/.../.../conda/dist | grep nodeworks

maybe your key is not working?

It works now. It is the problem on my side, I’ve turned on the offline mode for conda :sweat_smile:
Thanks and appreciate your time!

opps. I am glad you figured it out!