Forums

Installing Pytorch but get error "I/O Limit Exceeded"

I am trying to install pytorch in my virtualenv using pip, but it got an error saying "I/O Limit exceeded". Can anyone help? Thanks a million!

Hi there, you could conceivably avoid this problem by redirecting output:

pip install http://download.pytorch.org/whl/cu80/torch-0.1.11.post5-cp35-cp35m-linux_x86_64.whl > /tmp/pytorch-install-log.txt

However, I should warn you -- it looks like pytorch is designed for using GPU acceleration. PythonAnywhere does not provide access to a GPU.

@harry Thanks for your reply, pytorch can work without GPU. I will let you know if it works.

.

pip install http://download.pytorch.org/whl/cu75/torch-0.1.11.post5-cp27-none-linux_x86_64.whl > /tmp/pytorch-install-log.txt
pip install torchvision

This works well.

good to know!

I tried this, and the links don't work for me. I get the error "ERROR: torch-0.1.11.post5-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.". Any ideas?

I see that you posted on this forum thread too, so I'll answer there.