ModuleNotFoundError: No module named 'kiwisolver'

1. ModuleNotFoundError: No module named 'kiwisolver'

Lucas Eduardo Piana
Lpiana

(usa Ubuntu)

Enviado em 02/11/2022 - 15:32h

Estou tentando rodar o yolov5 no meu ubuntu 20.04, o python esta na versão 3.9.5, todo atualizado... ja tentei ver outras soluções e nenuma deu certo... quando eu o codigo, eu recebo isso:
python detect.py
Traceback (most recent call last):
File "/home/piana/Documents/yolov5/detect.py", line 42, in <module>
from models.common import DetectMultiBackend
File "/home/piana/Documents/yolov5/models/common.py", line 29, in <module>
from utils.dataloaders import exif_transpose, letterbox
File "/home/piana/Documents/yolov5/utils/dataloaders.py", line 30, in <module>
from utils.augmentations import (Albumentations, augment_hsv, classify_albumentations, classify_transforms, copy_paste,
File "/home/piana/Documents/yolov5/utils/augmentations.py", line 15, in <module>
from utils.general import LOGGER, check_version, colorstr, resample_segments, segment2box, xywhn2xyxy
File "/home/piana/Documents/yolov5/utils/general.py", line 41, in <module>
from utils.metrics import box_iou, fitness
File "/home/piana/Documents/yolov5/utils/metrics.py", line 10, in <module>
import matplotlib.pyplot as plt
File "/home/piana/.local/lib/python3.9/site-packages/matplotlib/__init__.py", line 214, in <module>
_check_versions()
File "/home/piana/.local/lib/python3.9/site-packages/matplotlib/__init__.py", line 208, in _check_versions
module = importlib.import_module(modname)
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'kiwisolver'


Esse erro " ModuleNotFoundError: No module named 'kiwisolver' "
não consigo resolver, e as soluções de instalar nao funcionam, nem de desistalar


tentando desistalar:
pip3 uninstall kiwisolver
Found existing installation: kiwisolver 1.0.1
Not uninstalling kiwisolver at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'kiwisolver'. No files were found to uninstall.


tentando instalar:
pip3 install kiwisolver
Requirement already satisfied: kiwisolver in /usr/lib/python3/dist-packages (1.0.1)





  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts