Closed jerkstorecaller closed 3 years ago
Use compilers
package.
Or gcc=11
"Use gcc=11"
I'm not sure what you mean by this. As you can see in the issue description, I already installed gcc 11.1.0 using your gcc_linux-64 package, the issue I'm reporting is that it's not in PATH when the environment is activated, so the environment keeps using the system gcc unless the user creates custom tweaks to the conda environment's environment variables.
"Use compilers package."
Reading the description, this installs the compilers used by conda-forge to build the packages that get downloaded by users. How does that help end-users use one of your compiler packages in their environment? Does it matter which compiler you used to create the packages we download?
I'm new to Conda so I might be missing something here, but I think you misunderstood the issue I was reporting.
Anyway, I decided to stop using conda, because it's so fragile I can't rely on it. Package installation randomly freezes/takes forever while "collecting package metadata", and cleaning caches doesn't always fix it. I couldn't even "conda install compilers" today to try what you said. Even after nuking everything and starting over, Miniconda3-latest-Linux-x86_64.sh can't install anymore due to "KeyError('pkgs_dirs')". And this is on Ubuntu 20.04, I can't imagine what it's like on less popular distros. I'll wait a few years until conda is a bit more stable and you ironed out the mistakes. Cheers.
Issue: After installing gcc11 using the commands below, the gcc invoked when the conda environment is activated is not the one from your packages, but the system gcc. Is this appropriate? The user has to set their own environment variables to make your gcc packages callable. Seems to me this goes counter to the benefit of creating a conda environment.
Specifically:
Environment (
conda list
):Details about
conda
and system (conda info
):