Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

import torch ModuleNotFoundError: No module named 'torch' #150

Open
GiveMeAnApple99 opened this issue Dec 2, 2022 · 0 comments
Open

import torch ModuleNotFoundError: No module named 'torch' #150

GiveMeAnApple99 opened this issue Dec 2, 2022 · 0 comments

Comments

@GiveMeAnApple99
Copy link

I used the command
docker run --gpus all --name MyName -p ******:22 -it -v /home/tom/DISK/DISK1/MyDirectory/:/home/ ufoym/deepo /bin/bash
to create a container based on the image ufoym/deepo.
But when I tried to import torch...

import torch
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'torch'

So how can I solve this problem?
Thank u.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant