Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot specify package version to install #42

Closed
abrahammurciano opened this issue Aug 9, 2022 · 0 comments · Fixed by #44
Closed

Cannot specify package version to install #42

abrahammurciano opened this issue Aug 9, 2022 · 0 comments · Fixed by #44

Comments

@abrahammurciano
Copy link
Contributor

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
abrahammurciano pushed a commit to abrahammurciano/condax that referenced this issue Aug 10, 2022
Fixes mariusvniekerk#42

Users can install packages with specific versions like this:

    condax install mypackage=1.2.3
abrahammurciano pushed a commit to abrahammurciano/condax that referenced this issue Aug 10, 2022
Fixes mariusvniekerk#42

Users can install packages with specific versions like this:

    condax install mypackage=1.2.3
mariusvniekerk pushed a commit to abrahammurciano/condax that referenced this issue Aug 22, 2022
Fixes mariusvniekerk#42

Users can install packages with specific versions like this:

    condax install mypackage=1.2.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant