You are not logged in.

#1 2014-12-02 04:47:05

george55
Member
Registered: 2011-08-10
Posts: 68

Electrum Error: Could not import icons_rc.py

I just installed electrum and got this error:

Error: Could not import icons_rc.py, please generate it with: 'pyrcc4 icons.qrc -o gui/qt/icons_rc.py'

For this command to work I need to figure out where icons_rc.py is located:

$ locate icons_rc.py
/usr/lib/python2.7/site-packages/electrum_gui/qt/icons_rc.py
/usr/lib/python2.7/site-packages/electrum_gui/qt/icons_rc.pyc
/usr/lib/python2.7/site-packages/electrum_gui/qt/icons_rc.pyo

So I ran:

$ pyrcc4 icons.qrc -o /usr/lib/python2.7/site-packages/electrum_gui/qt/icons_rc.py
pyrcc4: File does not exist 'icons.qrc'

Figure out if that exists:

$ locate icons.qrc
/usr/lib/python2.7/site-packages/electrum_gui/qt/icons.qrc
$ cd /usr/lib/python2.7/site-packages/electrum_gui/qt/
$ pyrcc4 icons.qrc -o /usr/lib/python2.7/site-packages/electrum_gui/qt/icons_rc.py

-> No error message, seems to have worked! However, still the same error persists:

$ electrum
Error: Could not import icons_rc.py, please generate it with: 'pyrcc4 icons.qrc -o gui/qt/icons_rc.py'

Any ideas? Googling this shows people with the same issue which somehow disappears, if at all.

Offline

Board footer

Powered by FluxBB