cortex-lab / phy

phy: interactive visualization and manual spike sorting of large-scale ephys data
BSD 3-Clause "New" or "Revised" License
311 stars 157 forks source link

ImportError: DLL load failed while importing QtCore: The specified module could not be found. #1135

Closed aloksneurobot1 closed 2 years ago

aloksneurobot1 commented 2 years ago

Hi all, Did anyone encounter this error, I have Windows 10, Anaconda3 2021.04 (Python 3.8.8 64 bit) installed in this worstation. I followed the installation steps as suggested in readme file here: 1) create a conda env for phy 2) install pip in this env 3) install phy in this env for opening the phy gui, while still in the phy env, i follow following steps 4) move the path to Kilosort output data folder where the Kilosort sorted data are located. 5) run phy template-gui params.py

I end up getting following errors, about PyQt5.Qtcore File "C:\Users\user\anaconda3\envs\phy\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\user\anaconda3\envs\phy\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\user\anaconda3\envs\phy\Scripts\phy.exe__main.py", line 4, in File "C:\Users\user\anaconda3\envs\phy\lib\site-packages\phy\apps\init.py", line 22, in from phy.gui.qt import QtDialogLogger File "C:\Users\user\anaconda3\envs\phy\lib\site-packages\phy\gui\init__.py", line 6, in from .qt import ( File "C:\Users\user\anaconda3\envs\phy\lib\site-packages\phy\gui\qt.py", line 31, in from PyQt5.QtCore import (Qt, QByteArray, QMetaObject, QObject, # noqa ImportError: DLL load failed while importing QtCore: The specified module could not be found.

Has anyone encountered these issues?

phy import error.txt

aloksneurobot1 commented 2 years ago

I reinstalled phy and it works..