pytorch-chatbot icon indicating copy to clipboard operation
pytorch-chatbot copied to clipboard

Error: can't read torch library in train.py

Open Zahidpichen1 opened this issue 1 year ago • 1 comments

when i tried to run train.py after activating virtual environment.

I got this error: (venv) PS M:\WorkSpace\GitHUB\pytorch-chatbot\myproject> python train.py Traceback (most recent call last): File "M:\WorkSpace\GitHUB\pytorch-chatbot\myproject\train.py", line 5, in import torch ModuleNotFoundError: No module named 'torch'

image

i then tried to install torch library, but I still couldn't solve the error.

now what should I do?

Zahidpichen1 avatar Dec 15 '23 17:12 Zahidpichen1

pip3 install torch

LuluW8071 avatar Feb 14 '24 10:02 LuluW8071