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

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

Open
@GiveMeAnApple99

Description

@GiveMeAnApple99

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions