TorchStudio / torchstudio

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

Issue with remote: HTTP errors #5

Closed R7788380 closed 2 years ago

R7788380 commented 2 years ago

I can connect to the remote host via ssh, but torchstudio doesn't work.

I have set remote configuration named AI_server like below,then it will install Paramiko python package to ssh server.

螢幕擷取畫面 2022-03-03 103332

But I get error message like below, it looks like there is not internet on localhost to install Paramiko, but I'm sure that the local network is working.

螢幕擷取畫面 2022-03-03 103756
divideconcept commented 2 years ago

Do you still get the same error if you click Refresh ?

If it still doesn't work, you could install the missing Paramiko package manually (that's the only package that needs to be installed on the remote server). Since you're on Windows, you can use Putty to connect to your SSH server. When you're in, type the path to conda to install paramiko. If your path to python is PYTHONROOT/bin/python then your path to conda will be PYTHONROOT/condabin/conda. The command you have to type on your remote server is: PYTHONROOT/condabin/conda install paramiko -c conda-forge This will install paramiko. If all goes well then you can disconnect from your remote server and try TorchStudio refresh again.

R7788380 commented 2 years ago

Thanks for your reply. It works well after conda install -c anaconda paramiko on the remote server and click Refresh.