TorchStudio / torchstudio

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

Stuck installation #33

Closed PerfectYellow closed 2 years ago

PerfectYellow commented 2 years ago

Hi I am on m1 macbook pro and I try to install Torch Studio but it gets stuck every time I just click on "install (recommended)" and wait for hours but nothing happened And the log file has the same text.

Screen Shot 2022-04-18 at 21 19 28
wzh1994 commented 2 years ago

me too

wzh1994 commented 2 years ago

My guess is that conda is stuck in an infinite loop when parsing package dependencies. I solved the problem by installing in groups: cd ~/TorchStudio/python/bin/conda ./conda install nomkl pytorch torchvision torchaudio -c pytorch -c conda-forge -c anaconda ./conda install datasets scipy pandas -c pytorch -c conda-forge -c anaconda ./conda install matplotlib-base python-graphviz paramiko -c pytorch -c conda-forge -c anaconda

divideconcept commented 2 years ago

@wzh1994 thanks for the tip. Not sure why conda got stuck though. NB: note that on mac, due to MKL being incompatible with M1 CPUs, I had to specify a specific version of torch and mkl (as seen in the screenshot).

PerfectYellow commented 2 years ago

@wzh1994 Thank you very much Your solution solved my problem πŸ™πŸŒΈπŸŒΊ