TorchStudio / torchstudio

IDE for PyTorch and its ecosystem
https://torchstudio.ai
MIT License
383 stars 27 forks source link

Error Message: An error occured during the install. You can now close this window. #14

Open tribbloid opened 2 years ago

tribbloid commented 2 years ago

Already have miniconda installed.

When I click the Install(recommended) button, I got the following message which is really unfriendly:

Downloading, installing and setting up a Python environment for TorchStudio.
This may take up to 15 minutes depending on your download speed, and up to 16GB.

Downloading Python installer (Miniconda3)...
Download complete: /home/peng/TorchStudio/python-miniconda3.sh

Installing Python in /home/peng/TorchStudio/python...
An error occured during the install. You can now close this window.

Could you elaborate more in the message?

divideconcept commented 2 years ago

@tribbloid Indeed that doesn't say a lot, error logging will be more detailed in the next update. Meanwhile you can do the following: go to /home/peng/TorchStudio and delete the python folder (if any). Then type the following in a terminal: /home/peng/TorchStudio/python-miniconda3.sh -b -f -p /home/peng/TorchStudio/python Please let me know how it goes. If the command above succeed, you can just relaunch TorchStudio and proceed with the rest of the install.

tribbloid commented 2 years ago

No it doesn't, something else was wrong:

$ sudo ~/TorchStudio/python-miniconda3.sh -b -f -p /home/peng/TorchStudio/python
sudo: /home/peng/TorchStudio/python-miniconda3.sh: command not found

One extra thing I discovered was that my OS (Pop OS 21.10 LTS) hasn't upgraded to CUDA 11.3. So it recommends torch 1.8 with CUDA 11.1 at the moment. This is below the dependency requirement of torchstudio

divideconcept commented 2 years ago

sorry I forgot to add bash before: sudo bash ~/TorchStudio/python-miniconda3.sh -b -f -p /home/peng/TorchStudio/python But indeed PyTorch 1.8 won't meet the minimum requirements for TorchStudio, PyTorch 1.9 minimum is required.

tribbloid commented 2 years ago

command successful but still didn't solve the problem

divideconcept commented 2 years ago

Well I suppose the problem at this point is more Pop OS not supporting PyTorch 1.9 ?

tribbloid commented 2 years ago

Noooo, I de-selected "Local GPU support" option, it should download PyTorch 1.9 with CPU/MKL support only.

But it doesn't, and very little is logged

divideconcept commented 2 years ago

Please copy paste the content of ~/TorchStudio/pythoninstall.log here.

divideconcept commented 2 years ago

@tribbloid Please install and download TorchStudio 0.9.6 and try again. If it fail, please upload the log files located in ~/TorchStudio/logs