CorentinJ / Real-Time-Voice-Cloning

Clone a voice in 5 seconds to generate arbitrary speech in real-time
Other
52.05k stars 8.71k forks source link

DLL load failed while importing QtCore #1124

Closed michael-ts closed 1 year ago

michael-ts commented 1 year ago

When I try to run python demo_toolbox.py it fails with this error:

Traceback (most recent call last):
  File "C:\Users\michael\Real-Time-Voice-Cloning-master\demo_toolbox.py", line 5, in <module>
    from toolbox import Toolbox
  File "C:\Users\michael\Real-Time-Voice-Cloning-master\toolbox\__init__.py", line 11, in <module>
    from toolbox.ui import UI
  File "C:\Users\michael\Real-Time-Voice-Cloning-master\toolbox\ui.py", line 12, in <module>
    from PyQt5.QtCore import Qt, QStringListModel
ImportError: DLL load failed while importing QtCore: The specified module could not be found.

I tried upgrading PyQt5 to see if that would have any effect; it went from 5.15.6 to to 5.15.7 but this did not fixt the issue.

michael-ts commented 1 year ago

Fixed with:

pip uninstall pyqt5
pip uninstall pyqt5-sip
pip uninstall pyqt5-qt5
pip install pyqt5 --user