Skip to content

pip install -v -e . ModuleNotFoundError: No module named 'torch' #12414

@LambdaOvO

Description

@LambdaOvO

When installing mmdetection from the source code, an error occurred indicating that it could not be installed. Error message: ModuleNotFoundError: No module named 'torch'.
Environment: Nvidia 50 Series graphics card, cuda12.8, pytorch2.9.1.
I have also tried many versions of Pytorch and encountered the same problem

源码安装mmdetection时,报错无法安装。错误消息:ModuleNotFoundError: No module named 'torch'。
环境:英伟达50系显卡,cuda12.8, pytorch2.9.1
我也尝试了许多pytorch版本,同样会遇到这个问题

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions