|

楼主 |
发表于 2023-11-24 21:38:38
|
显示全部楼层
- import easyocr
- Traceback (most recent call last):
- File "<pyshell#1>", line 1, in <module>
- import easyocr
- File "C:\Users\L\AppData\Local\Programs\Python\Python310-32\lib\site-packages\easyocr\__init__.py", line 1, in <module>
- from .easyocr import Reader
- File "C:\Users\L\AppData\Local\Programs\Python\Python310-32\lib\site-packages\easyocr\easyocr.py", line 3, in <module>
- from .recognition import get_recognizer, get_text
- File "C:\Users\L\AppData\Local\Programs\Python\Python310-32\lib\site-packages\easyocr\recognition.py", line 2, in <module>
- import torch
- ModuleNotFoundError: No module named 'torch'
复制代码
出现这个错误,并且
- pip install torch
- Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
- ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
- ERROR: No matching distribution found for torch
复制代码 |
|