cresset-template / cresset

Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.
MIT License
715 stars 41 forks source link

Get `conda` off `PATH`. #155

Closed veritas9872 closed 1 year ago

veritas9872 commented 1 year ago

https://github.com/pism/pism/issues/356

Conda does not recommend putting its binary on the PATH variable and the build issues that have been plaguing the project for years likely has to do with it. Remove conda from the build path and use absolute directories.

For runtime use, put /opt/conda/etc/profile.d/conda.sh into .zshrc to use the conda function in the shell.