# try any conda command
$ conda
ERROR: The install method you used for conda--probably either `pip install conda`
or `easy_install conda`--is not compatible with using conda as an application.
If your intention is to install conda as a standalone application, currently
supported install methods include the Anaconda installer and the miniconda
installer. You can download the miniconda installer from
https://conda.io/miniconda.html.
conda or the more explicit /nix/store/x1mhg06627mxrgm0avc2h6lnmia4z3xy-python3.7-conda-4.3.16/bin/conda, with or without extra commandsPlease run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
- system: `"x86_64-linux"`
- host os: `Linux 4.18.0, NixOS, 18.09.1799.b9fa31cea0e (Jellyfish)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.1.3`
- channels(root): `"nixos-18.09.1799.b9fa31cea0e, nixos-unstable-small-19.03pre164396.24cdaa7b488"`
- channels(tycho): `"nixos-unstable-small-19.03pre164396.24cdaa7b488"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
You want nixpkgs.conda not nixpkgs.pythonPackages.conda.
This should put you in a (unfortunately extremely barren) shell where you can use conda:
nix run nixpkgs.conda --command conda-shell-4.3.31
I made a branch a while back that puts you inside a more fully feathered shell (the command is simply called conda-shell there): https://github.com/hedning/nixpkgs/commits/better-buildFHSUserEnv
Thanks for your reply @hedning. I tried conda-shell, but was quite confused about it, as it seemed to function like bash rather than like the conda cli.
Is there any outstanding PR to get your improved shell integrated here? :)
Is there any outstanding PR to get your improved shell integrated here? :)
It's on my to do list, but I haven't made a PR yet.
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Most helpful comment
It's on my to do list, but I haven't made a PR yet.