Bitcoin Forum
May 24, 2024, 11:46:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum error "Could not import PyQt4 on Linux systems" on Mac OS X  (Read 3227 times)
terminus (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 25, 2012, 04:33:00 AM
 #1

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.
alexandrz
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile WWW
November 28, 2012, 08:15:10 AM
 #2

Had the same problem.

Run or add this command to ~/.bash_profile:

export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!