MTgeophysics/mtpy

PyQt4 incompatible with PyQt5

forrest-gang opened this issue · 0 comments

Expected Behavior

Current Behavior

I test the script "modem_mesh_builder.py" file in spyder in Anaconda, and it encoutered a problem: "ImportError:
Importing PyQt4 disabled by IPython, which has already imported an Incompatible QT Binding: pyqt5". please tell me what should I do?

Possible Solution

Steps to Reproduce (for bugs)

# Paste your code here
#
#

Context

ImportError:
Importing PyQt4 disabled by IPython, which has already imported an Incompatible QT Binding: pyqt5

Your Environment

  • Operating system: windows 10
  • MtPy version:
  • Python version: 3.7
  • Spyder version:5.00
  • Matplotlib version:
  • Matplotlib backend (print(matplotlib.get_backend())):
  • QT version:

Installed Python Packages:
use pip freeze or conda list [-n ENVIRONMENT_NAME] to list all the installed libraries.