cortex-lab / phy

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

ImportError: libQt5QmlModels.so.5: cannot open shared object file: No such file or directory #1168

Open mfvd opened 1 year ago

mfvd commented 1 year ago

Hello,

I'm trying to open a dataset in phy and keep getting the error below. I'm running Ubuntu 20.04.4 LTS. I've tried reinstalling PyQtWebEnginebut it did not solve the problem. Any suggestion on how to solve this issue?

Traceback (most recent call last):
  File "/home/neuroimaging/anaconda2/envs/si_openephys/bin/phy", line 5, in <module>
    from phy.apps import phycli
  File "/home/neuroimaging/anaconda2/envs/si_openephys/lib/python3.9/site-packages/phy/apps/__init__.py", line 22, in <module>
    from phy.gui.qt import QtDialogLogger
  File "/home/neuroimaging/anaconda2/envs/si_openephys/lib/python3.9/site-packages/phy/gui/__init__.py", line 6, in <module>
    from .qt import (
  File "/home/neuroimaging/anaconda2/envs/si_openephys/lib/python3.9/site-packages/phy/gui/qt.py", line 41, in <module>
    from PyQt5.QtWebEngineWidgets import (QWebEngineView,  # noqa
ImportError: libQt5QmlModels.so.5: cannot open shared object file: No such file or directory
caitlinmallory commented 1 year ago

having the same issue!

pderdeyn commented 1 year ago

I got errors like this while trying to get an installation working on python 3.11. After quite a rabbit hole of trying to install and configure PyQt5 manually, I simply created a new python 3.7 environment, installed phy following the documentation, and my installation now works fine. I'm on Ubuntu 18.04 btw

rachaita20 commented 9 months ago

I am facing the same issue.