Ask coding questions

← Back to all posts
Large Pip packages (PyTorch) errors on install
lvinwan (302)

Edit: So looks like the allocated drive just ran out of space. I think the size granted to an app is reasonably large, it's just PyTorch that's too big. Will have to look elsewhere, unfortunately, for a solution.

Currently trying to install torch==1.4.0 on a repl.it, but it looks like the download times out. (That or there's another hidden error) The full traceback is listed here and can be reproduced by hitting "Run" at ~https://repl.it/@ALVINWAN1/nbdt~ (deleted) .

Is there currently a workaround for this on repl.it? Currently trying to run a CPU-inference-only demo on repl.it. Worst comes to worst, I do this without repl.it, but that's not ideal.

*Note: Running poetry install locally with the same pyproject.toml works. PyTorch is installed normally, so poetry itself is not the problem.

Repl.it: Updating package configuration

--> /usr/local/bin/python3 -m poetry add torchfun
Using version ^1.0 for torchfun

Updating dependencies
Resolving dependencies...


Package operations: 17 installs, 0 updates, 0 removals

  - Installing torch (1.4.0)
                                                                   
             
[EnvCommandError]                                                
Command ['/home/runner/.local/share/virtualenvs/python3/bin/python'
, '-m', '        
pip', 'install', '--no-deps', 'torch==1.4.0'] errored with the foll
owing out  
put:                                                               
           
Collecting torch==1.4.0                                            
           
  Downloading https://files.pythonhosted.org/packages/bc/47/5b7c4f8
32b600779  
eed76cac86efbd5054f124bc919930aced51de2ccbb1/torch-1.4.0-cp38-cp38-manylinux  
1_x86_64.whl (753.4MB)                                                        
                                                                                
add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...

exit status 1


Repl.it: Package operation failed.