MTgeophysics / mtpy

Python toolbox for standard Magnetotelluric (MT) data analysis
GNU General Public License v3.0
145 stars 66 forks source link

SmartMT cannot import icons_qt5_rc #86

Open kujaku11 opened 5 years ago

kujaku11 commented 5 years ago

Trying to run SmartMT and running general pytest for MTPy and the error is ModuleNotFoundError: no module named 'icons_qt5_rc'

Expected Behavior

Current Behavior

Possible Solution

the import should probably be a full path mtpy.gui.SmartMT.ui_asset

I tried that but plot_options gets rewritten each time you run start.py and I couldn't find where that happens.

Steps to Reproduce (for bugs)

  1. in a command window $ python mtpy/gui/SmartMT/start.py
# Paste your code here
#
#

Context

Your Environment

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

kashkoulimohammad commented 4 years ago

Hi @kujaku11 did you solve this problem?

cjobim commented 10 months ago

Hi, I ran into the same issue and bypassed it by commenting out this line (import icons_qt5_rc) in plot_options.py, station_viewer.py and main_window.py - I couldn't find a reference to icons_qt5_rc anywhere.