Author

Topic: Electrum error "Could not import PyQt4 on Linux systems" on Mac OS X (Read 3257 times)

newbie
Activity: 33
Merit: 0
Had the same problem.

Run or add this command to ~/.bash_profile:

export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
newbie
Activity: 1
Merit: 0
I am trying to run the latest Electrum on the latest Mac OS X, but I get this error:

$ ./electrum
Error: Could not import PyQt4 on Linux systems, you may try 'sudo apt-get install python-qt4'

$ brew list
libpng   pyqt   qt   sip

$ ls /usr/local/lib/python2.7/site-packages/
PyQt4      sip.so      sipconfig.py   sipconfig.pyc   sipdistutils.py

How can I fix this?

Thanks.
Jump to: