Installing threestudio on Ubuntu 20.04 using Windows

https://github.com/threestudio-project/threestudio

I found this link for installing Cuda 11.3:

Step by step instruction how to install CUDA 11 Ubuntu 20.04:

https://gist.github.com/ksopyla/bf74e8ce2683460d8de6e0dc389fc7f5

From the threestudio page:

pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 –extra-index-url https://download.pytorch.org/whl/cu113

Instead also include torchaudio, from pytorch.org https://pytorch.org/get-started/previous-versions/

pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113

I got an error from pip install -r requirements.txt:

ERROR: Could not find a version that satisfies the requirement embreex; extra == “easy” (from trimesh[easy]->-r requirements.txt (line 18)) (from versions: none)
ERROR: No matching distribution found for embreex; extra == “easy” (from trimesh[easy]->-r requirements.txt (line 18))

I got an error:

/usr/bin/ld: cannot find -lcuda

So I am installing this:

https://developer.nvidia.com/cuda-11.3.0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=WSL-Ubuntu&target_version=2.0&target_type=deb_local

I added to .bashrc:

export PATH=/usr/local/cuda/bin:$PATH

Leave a Reply