当我在bash上激活conda时,显示关于mysql-connector模块的错误,而当我停用conda bash时,pyqt5模块向我显示错误,并且都已安装
我已经重新安装了linux并重新安装了所有内容,但它不起作用。并重新安装所有模块并查看我的代码
没有conda bash:
Traceback (most recent call last):
File "controller.py", line 6, in <module>
from SignIn_ui import IniciarSesionView
File "../view/SignIn_ui.py", line 9, in <module>
from PyQt5 import QtCore, QtGui, QtWidgets
ModuleNotFoundError: No module named 'PyQt5'
使用conda bash:
File "controller.py", line 5, in <module>
from model import RegisteredUser
File "../model/model.py", line 3, in <module>
from db_connection import DBconn
File "../connection/db_connection.py", line 1, in <module>
import mysql.connector
ModuleNotFoundError: No module named 'mysql'