DEV Community

Discussion on: Guide to install PyTorch with CUDA on Ubuntu 18.04

Collapse
 
jodyngo profile image
jodyngo

Please advise me to solve this issue:
export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
dirname: missing operand

Collapse
 
evanilukhin profile image
Ivan Iliukhin • Edited

It looks like the command $(which conda) returned nothing. Also, I recommend to try without exporting that env variable