Installation problems on Windows

The problem I am encountering is that when I attempt to create the MFIX environment in Anaconda 2023.03.1, it does not seem to be working even after reinstalling the Anaconda. I have followed the steps mentioned in the tutorial, but I have not been successful in creating the environment. I kindly request you to look into this matter and provide me with the necessary assistance to resolve the issue.

How can we look into the matter when you have not described the failure? What exact steps have you taken? What errors are you seeing?

Thanks for the reply! I am installing the Mfix in Windows-11, for that I follow the following steps:

  1. Download the 64-bit, Python 3, Windows version of [Anaconda] and installed it, and run `Anaconda Prompt’.

  2. Browse to MFiX Download (requires registration and login)

  3. Copy the conda command

  4. Paste it in the Terminal.

  5. Press enter to run the command.
    following error ocure
    environment variables:
    ALTAIR_LICENSE_PATH=C:\Program Files\Altair\2022.3\security\altair_lic.dat
    CIO_TEST=
    CONDA_DEFAULT_ENV=base
    CONDA_EXE=C:\Users\hp\Ana\condabin..\Scripts\conda.exe
    CONDA_EXES=“C:\Users\hp\Ana\condabin..\Scripts\conda.exe”
    CONDA_PREFIX=C:\Users\hp\Ana
    CONDA_PROMPT_MODIFIER=(base)
    CONDA_PYTHON_EXE=C:\Users\hp\Ana\python.exe
    CONDA_ROOT=C:\Users\hp\Ana
    CONDA_SHLVL=1
    CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1
    CURL_CA_BUNDLE=
    HOMEPATH=\Users\hp
    LD_PRELOAD=
    MOZ_PLUGIN_PATH=C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins
    PATH=C:\Users\hp\Ana;C:\Users\hp\Ana\Library\mingw-
    w64\bin;C:\Users\hp\Ana\Library\usr\bin;C:\Users\hp\Ana\Library\bin;C:
    \Users\hp\Ana\Scripts;C:\Users\hp\Ana\bin;C:\Users\hp\Ana\condabin;C:
    Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\bin;C:\Program
    Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\libnvvp;C:\windows\syste
    m32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPow
    erShell\v1.0;C:\windows\System32\OpenSSH;c:\Program Files (x86)\HP\HP
    Performance Advisor;C:\Program Files\dotnet;C:\Program
    Files\MATLAB\R2023a\bin;C:\Program Files (x86)\Incredibuild;C:\Program
    Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\Microsoft
    SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\NVIDIA
    Corporation\Nsight Compute 2023.1.1;C:\Program Files (x86)\NVIDIA Corp
    oration\PhysX\Common;C:\Users\hp\AppData\Local\Microsoft\WindowsApps;C
    :\Users\hp.dotnet\tools;C:\Users\hp\Ana\Scripts;C:\Users\hp\Ana;.
    PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\Windows
    PowerShell\v1.0\Modules
    REQUESTS_CA_BUNDLE=
    SSL_CERT_FILE=

    active environment : base
    active env location : C:\Users\hp\Ana
    shell level : 1
    user config file : C:\Users\hp.condarc
    populated config files : C:\Users\hp.condarc
    conda version : 23.3.1
    conda-build version : 3.24.0
    python version : 3.10.9.final.0
    virtual packages : __archspec=1=x86_64
    __cuda=12.2=0
    __win=0=0
    base environment : C:\Users\hp\Ana (writable)
    conda av data dir : C:\Users\hp\Ana\etc\conda
    conda av metadata url : None
    channel URLs : conda-forge/win-64
    conda-forge/noarch
    https://mfix.netl.doe.gov/s3///conda/dist/win-64
    https://mfix.netl.doe.gov/s3/conda/dist/noarch
    https://conda.anaconda.org/new_channel_url/win-64
    https://conda.anaconda.org/new_channel_url/noarch
    main/win-64
    main/noarch
    r/win-64
    r/noarch
    msys2/win-64
    msys2/noarch
    package cache : C:\Users\hp\Ana\pkgs
    C:\Users\hp.conda\pkgs
    C:\Users\hp\AppData\Local\conda\conda\pkgs
    envs directories : C:\Users\hp\Ana\envs
    C:\Users\hp.conda\envs
    C:\Users\hp\AppData\Local\conda\conda\envs
    platform : win-64
    user-agent : conda/23.3.1 requests/2.28.1 CPython/3.10.9 Windows/10 Windows/10.0.22621
    administrator : False
    netrc file : None
    offline mode : False

I don’t see an error in there, it is just a list of all the variables…

I try to install an old version of Mfix in Anaconda but the same error is occurring. kindly let me know the solution for it.

>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

Traceback (most recent call last):
  File "C:\Users\hp\Ana\lib\site-packages\conda\gateways\repodata\__init__.py", line 161, in conda_http_errors
    yield
  File "C:\Users\hp\Ana\lib\site-packages\conda\gateways\repodata\__init__.py", line 127, in repodata
    response.raise_for_status()
  File "C:\Users\hp\Ana\lib\site-packages\requests\models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://conda.anaconda.org/new_channel_url/win-64/current_repodata.json

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\hp\Ana\lib\site-packages\requests\models.py", line 971, in json
    return complexjson.loads(self.text, **kwargs)
  File "C:\Users\hp\Ana\lib\site-packages\simplejson\__init__.py", line 514, in loads
    return _default_decoder.decode(s)
  File "C:\Users\hp\Ana\lib\site-packages\simplejson\decoder.py", line 386, in decode
    obj, end = self.raw_decode(s)
  File "C:\Users\hp\Ana\lib\site-packages\simplejson\decoder.py", line 416, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\hp\Ana\lib\site-packages\conda\exceptions.py", line 1132, in __call__
    return func(*args, **kwargs)
  File "C:\Users\hp\Ana\lib\site-packages\conda\cli\main.py", line 69, in main_subshell
    exit_code = do_call(args, p)
  File "C:\Users\hp\Ana\lib\site-packages\conda\cli\conda_argparse.py", line 122, in do_call
    return getattr(module, func_name)(args, parser)
  File "C:\Users\hp\Ana\lib\site-packages\conda\notices\core.py", line 121, in wrapper
    return func(*args, **kwargs)
  File "C:\Users\hp\Ana\lib\site-packages\conda\cli\main_create.py", line 41, in execute
    install(args, parser, 'create')
  File "C:\Users\hp\Ana\lib\site-packages\conda\cli\install.py", line 264, in install
    unlink_link_transaction = solver.solve_for_transaction(
  File "C:\Users\hp\Ana\lib\site-packages\conda\core\solve.py", line 134, in solve_for_transaction
    unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
  File "C:\Users\hp\Ana\lib\site-packages\conda\core\solve.py", line 177, in solve_for_diff
    final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
  File "C:\Users\hp\Ana\lib\site-packages\conda\core\solve.py", line 282, in solve_final_state
    ssc = self._collect_all_metadata(ssc)
  File "C:\Users\hp\Ana\lib\site-packages\conda\common\io.py", line 84, in decorated
    return f(*args, **kwds)
  File "C:\Users\hp\Ana\lib\site-packages\conda\core\solve.py", line 449, in _collect_all_metadata
    index, r = self._prepare(prepared_specs)
  File "C:\Users\hp\Ana\lib\site-packages\conda\core\solve.py", line 1064, in _prepare
    reduced_index = get_reduced_index(self.prefix, self.channels,
  File "C:\Users\hp\Ana\lib\site-packages\conda\core\index.py", line 267, in get_reduced_index
    new_records = SubdirData.query_all(spec, channels=channels, subdirs=subdirs,
  File "C:\Users\hp\Ana\lib\site-packages\conda\core\subdir_data.py", line 169, in query_all
    result = tuple(chain.from_iterable(executor.map(subdir_query, channel_urls)))
  File "C:\Users\hp\Ana\lib\concurrent\futures\_base.py", line 621, in result_iterator
    yield _result_or_cancel(fs.pop())
  File "C:\Users\hp\Ana\lib\concurrent\futures\_base.py", line 319, in _result_or_cancel
    return fut.result(timeout)
  File "C:\Users\hp\Ana\lib\concurrent\futures\_base.py", line 451, in result
    return self.__get_result()
  File "C:\Users\hp\Ana\lib\concurrent\futures\_base.py", line 403, in __get_result
    raise self._exception
  File "C:\Users\hp\Ana\lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Users\hp\Ana\lib\site-packages\conda\core\subdir_data.py", line 158, in subdir_query
    return tuple(
  File "C:\Users\hp\Ana\lib\site-packages\conda\core\subdir_data.py", line 174, in query
    self.load()
  File "C:\Users\hp\Ana\lib\site-packages\conda\core\subdir_data.py", line 264, in load
    _internal_state = self._load()
  File "C:\Users\hp\Ana\lib\site-packages\conda\core\subdir_data.py", line 366, in _load
    raw_repodata_str = self._repo.repodata(cache.state)  # type: ignore
  File "C:\Users\hp\Ana\lib\site-packages\conda\gateways\repodata\__init__.py", line 120, in repodata
    with conda_http_errors(self._url, filename):
  File "C:\Users\hp\Ana\lib\contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "C:\Users\hp\Ana\lib\site-packages\conda\gateways\repodata\__init__.py", line 208, in conda_http_errors
    raise RepodataIsEmpty(
  File "C:\Users\hp\Ana\lib\site-packages\conda\exceptions.py", line 462, in __init__
    body = response.json()
  File "C:\Users\hp\Ana\lib\site-packages\requests\models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

$ C:\Users\hp\Ana\Scripts\conda-script.py create -n mfix-23.1.1 mfix==23.1.1 mfix-doc==23.1.1 mfix-gui==23.1.1 mfix-solver==23.1.1 mfix-src==23.1.1 -c conda-forge -c https://mfix.netl.doe.gov/s3/21a5afb7/50e029ac2cf886c61e70192318d4491d//conda/dist

environment variables:
ALTAIR_LICENSE_PATH=C:\Program Files\Altair\2022.3\security\altair_lic.dat
CIO_TEST=
CONDA_DEFAULT_ENV=base
CONDA_EXE=C:\Users\hp\Ana\condabin..\Scripts\conda.exe
CONDA_EXES=“C:\Users\hp\Ana\condabin..\Scripts\conda.exe”
CONDA_PREFIX=C:\Users\hp\Ana
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=C:\Users\hp\Ana\python.exe
CONDA_ROOT=C:\Users\hp\Ana
CONDA_SHLVL=1
CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1
CURL_CA_BUNDLE=
HOMEPATH=\Users\hp
LD_PRELOAD=
MOZ_PLUGIN_PATH=C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins
PATH=C:\Users\hp\Ana;C:\Users\hp\Ana\Library\mingw-
w64\bin;C:\Users\hp\Ana\Library\usr\bin;C:\Users\hp\Ana\Library\bin;C:
\Users\hp\Ana\Scripts;C:\Users\hp\Ana\bin;C:\Users\hp\Ana\condabin;C:
Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\bin;C:\Program
Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\libnvvp;C:\windows\syste
m32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPow
erShell\v1.0;C:\windows\System32\OpenSSH;c:\Program Files (x86)\HP\HP
Performance Advisor;C:\Program Files\dotnet;C:\Program
Files\MATLAB\R2023a\bin;C:\Program Files (x86)\Incredibuild;C:\Program
Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\Microsoft
SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\NVIDIA
Corporation\Nsight Compute 2023.1.1;C:\Program Files (x86)\NVIDIA Corp
oration\PhysX\Common;C:\Users\hp\AppData\Local\Microsoft\WindowsApps;C
:\Users\hp.dotnet\tools;C:\Users\hp\Ana\Scripts;C:\Users\hp\Ana;.
PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\Windows
PowerShell\v1.0\Modules
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=

 active environment : base
active env location : C:\Users\hp\Ana
        shell level : 1
   user config file : C:\Users\hp\.condarc

populated config files : C:\Users\hp.condarc
conda version : 23.3.1
conda-build version : 3.24.0
python version : 3.10.9.final.0
virtual packages : __archspec=1=x86_64
__cuda=12.2=0
__win=0=0
base environment : C:\Users\hp\Ana (writable)
conda av data dir : C:\Users\hp\Ana\etc\conda
conda av metadata url : None
channel URLs : conda-forge/win-64
conda-forge/noarch
https://mfix.netl.doe.gov/s3/21a5afb7/50e029ac2cf886c61e70192318d4491d//conda/dist/win-64
https://mfix.netl.doe.gov/s3/21a5afb7/50e029ac2cf886c61e70192318d4491d//conda/dist/noarch
https://conda.anaconda.org/new_channel_url/win-64
https://conda.anaconda.org/new_channel_url/noarch
main/win-64
main/noarch
r/win-64
r/noarch
msys2/win-64
msys2/noarch
package cache : C:\Users\hp\Ana\pkgs
C:\Users\hp.conda\pkgs
C:\Users\hp\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\hp\Ana\envs
C:\Users\hp.conda\envs
C:\Users\hp\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/23.3.1 requests/2.28.1 CPython/3.10.9 Windows/10 Windows/10.0.22621
administrator : False
netrc file : None
offline mode : False

Please go to main menu, select “Submit bug report” and upload the resulting ZIP file