Trying again: Installing threestudio on Ubuntu 22.04 WSL on Windows

I found this https://zenn.dev/shinya7y/articles/threestudio-prolificdreamer from the discord chat for threestudio

sudo apt-key del 7fa2af80

Install Cuda-11-8. At the last step it should be apt-get install cuda-11-8, not cuda:

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

From https://zenn.dev/shinya7y/articles/wsl2-conda-mmdet3

To get conda:

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

bash Miniconda3-latest-Linux-x86_64.sh

rm Miniconda3-latest-Linux-x86_64.sh

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

cd threestudio/ conda create -n threestudio python=3.11 -y

conda activate threestudio

conda install pytorch=2.0.1 torchvision=0.15.2 pytorch-cuda=11.8 -c pytorch -c nvidia

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

export LD_LIBRARY_PATH=”/usr/local/cuda/lib64:$LD_LIBRARY_PATH”

export LIBRARY_PATH=”/usr/local/cuda/lib64/stubs:$LIBRARY_PATH”

pip install ninja

pip install -r requirements.txt

Leave a Reply