mariusvniekerk / condax

Install and run applications packaged with conda in isolated environments

Home Page:https://mariusvniekerk.github.io/condax/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot specify package version to install

abrahammurciano opened this issue · comments

Suppose I want to install a specific version of any package. For example python=3.9.

$ condax install python=3.9
...
Preparing transaction: ...working... done
Executing transaction: ...working... done
Traceback (most recent call last):
  File "/homes/abrahamm/.local/bin/condax", line 8, in <module>
    sys.exit(cli())
  File "/homes/abrahamm/.local/lib/python3.7/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/homes/abrahamm/.local/lib/python3.7/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/homes/abrahamm/.local/lib/python3.7/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/homes/abrahamm/.local/lib/python3.7/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/homes/abrahamm/.local/lib/python3.7/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/homes/abrahamm/.local/lib/python3.7/site-packages/condax/cli.py", line 32, in install
    core.install_package(package, channels=channel)
  File "/homes/abrahamm/.local/lib/python3.7/site-packages/condax/core.py", line 49, in install_package
    executables_to_link = conda.detemine_executables_from_env(package)
  File "/homes/abrahamm/.local/lib/python3.7/site-packages/condax/conda.py", line 133, in detemine_executables_from_env
    raise ValueError("Could not determine package files")
ValueError: Could not determine package files