Open SYLin117 opened 2 years ago
First make sure you do conda activate imaginaire
and then install the third-party packages.
I encountered similar "no such file or directory" errors when installing third-party packages.
My local environment is CUDA 11.6. After installing requirements_conda.yaml
I python=3.8 and pytorch=1.9 but with CUDA 11.4. So I checked if torch.cuda.available() which is False. I then went to my existing environment where pytorch can find gpu (python 3.9, cuda 11.3, pytorch 1.11) and added all the missing packages from requirements_conda.yaml
. Then it worked. I have exported a working environment below for anyone installing through conda as well.
Thank you very much for your kindly help. I also encounter this similar problem when I run the bash as follows: conda env create --file scripts/requirements_conda.yaml but it fails with the following information:
FileNotFoundError(2, "No such file or directory: '/home/hello_LY/anaconda3/envs/imaginaire/bin/python3.8'")
Looking forward to your help.
Note requirements_conda.yaml installed Python3.9, so I do not know where that "cannot find python3.8" error comes from
Hi, I'm using ubuntu 18.04 and 3090 with Cuda 11.1. I encountered this problem when I tried to install it by Conda. I already have tested Torch and Cuda, and both work. Any advice would be thankful.
In file included from ./src/correlation_cuda.cc:4: /home/ian/anaconda3/envs/imaginaire/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:5:10: fatal error: cuda_runtime_api.h: No such file or directory 5 | #include
| ^
~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 CUDA_VERSION: 11.1 `