Guide to install PyTorch with CUDA on Ubuntu 18.04
Yesterday I was installing PyTorch and encountered with different difficulties duri...
For further actions, you may consider blocking this person and/or reporting abuse
I'm getting the following error while trying to install the cuda toolkit:
The following packages have unmet dependencies:
cuda : Depends: cuda-11-2 (>= 11.2.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Does anyone knows how to fix this?
Please advise me to solve this issue:
export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
dirname: missing operand
It looks like the command
$(which conda)returned nothing. Also, I recommend to try without exporting that env variableInteresting question! I know only about the PyTorch and haven't searched other.