Bitcoin Forum
May 10, 2024, 09:43:24 PM *
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.
1715377404
Hero Member
*
Offline Offline

Posts: 1715377404

View Profile Personal Message (Offline)

Ignore
1715377404
Reply with quote  #2

1715377404
Report to moderator
1715377404
Hero Member
*
Offline Offline

Posts: 1715377404

View Profile Personal Message (Offline)

Ignore
1715377404
Reply with quote  #2

1715377404
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715377404
Hero Member
*
Offline Offline

Posts: 1715377404

View Profile Personal Message (Offline)

Ignore
1715377404
Reply with quote  #2

1715377404
Report to moderator
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!