Ask coding questions

← Back to all posts
Does anyone know how I can install PyTorch or other non-automatically installed libraries?
tealmaiden (2)

It looks like some Python libraries are automatically installed when they are imported, but I get a "module not found" error message when I do this with torch. What determines whether something is automatically installed or not?

I am trying to fiddle code at work, which restricts installing any new software on our machines, so I can't install this outside of an online server like repl.it right now.

Answered by MrEconomical (2293) [earned 5 cycles]
View Answer
Comments
hotnewtop
MrEconomical (2293)

you need to install them in "packages" on the menu on the left

tealmaiden (2)

@MrEconomical Thanks, I tried this, and the install fails unfortunately. No idea what more it needs.

MrEconomical (2293)

@tealmaiden you can report this to the repl bug tracker at http://repl.it/bugs

shamoons (1)

I'm having the same issue