Closed kirk86 closed 1 year ago
Hi, I am not sure where the rm command comes from, but end users are not supposed to use this package; it's meant to be used by Conda-Forge package maintainers, see https://conda-forge.org/docs/user/faq.html (the last Q & A; for some reason I can't hyperlink to it).
Thanks, I needed nvcc in order to compile some installed packages and I thought this should be the package that would allow me to install and utilise nvcc.
Thanks, I needed nvcc in order to compile some installed packages and I thought this should be the package that would allow me to install and utilise nvcc.
Unfortunately nvcc
is not redistributable per the CUDA EULA so conda cannot ship an nvcc
package. This is a shim package to call into a system installed nvcc
from the CUDA toolkit.
Btw the rm command is done here: https://github.com/conda-forge/nvcc-feedstock/blob/be30075db0e7d4f551b41c82bb53e73daccdcc9e/recipe/install_nvcc.sh#L157 Perhaps we should add extra safeties to ensure the activate/deactivate scripts are only run in a conda-build session, not in end users' environments (despite it takes no effect in your case, but who knows).
We should probably short circuit and error for now if the package isn't being used in CONDA_BUILD
Thanks for the explanation @kkraus14!
Perhaps we should add extra safeties to ensure the activate/deactivate scripts are only run in a conda-build session, not in end users' environments (despite it takes no effect in your case, but who knows).
I think a better alternative was already implemented in #84. Let's close this. Thank you @kirk86 for reporting!
Issue: I receive the following error while trying to install nvcc in a conda environment.
rm: cannot remove '/lib/libcuda.so': Permission denied File /home/user/miniconda3/envs/tflow/lib/lib64/stubs/libcuda.so doesn't exist
It seems that is trying to remove my system
/lib/libcuda.so
and I don't know why, plus this is undesirable behaviour as an end user I'll end up with a messed up system.Environment (
conda list
):Details about
conda
and system (conda info
):