Install on MacBook

Post here to get support
Post Reply
casackett
Beginner
Posts: 2
Joined: Sun Jan 12, 2014 7:42 pm

Install on MacBook

Post by casackett »

Hi, I'm trying to install the cfclient on a sort of old MacBook, running Snow Leopard. I'm trying to use homebrew for the install.

It has been a little interesting, but I've gotten to the point of compiling the client. I get this error:

Code: Select all

Traceback (most recent call last):
  File "bin/cfclient", line 92, in <module>
    cfclient.main()
  File "/Users/drsackett/cfclient-2013.4.2/lib/cfclient/cfclient.py", line 99, in main
    from ui.main import MainUI
  File "/Users/drsackett/cfclient-2013.4.2/lib/cfclient/ui/main.py", line 46, in <module>
    from dialogs.connectiondialogue import ConnectDialogue
  File "/Users/drsackett/cfclient-2013.4.2/lib/cfclient/ui/dialogs/connectiondialogue.py", line 44, in <module>
    connect_widget_class, connect_widget_base_class = uic.loadUiType(sys.path[0] + '/cfclient/ui/dialogs/connectiondialogue.ui')
  File "/usr/local/lib/python2.7/site-packages/PyQt4/uic/__init__.py", line 215, in loadUiType
    return (ui_globals[winfo["uiclass"]], getattr(QtGui, winfo["baseclass"]))
AttributeError: 'module' object has no attribute 'QWidget'
I don't know what to do with this, can anyone help?
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Install on MacBook

Post by arnaud »

Hi,

Looks like something is wrong with your pyqt installation.

I just managed to get the client to run on a recent mac-pro with homebrew and after some frustration to get pygame it worked for both the dev version and the version you are trying to run. I don't know how to reproduce your problem.

You can try to get a bleeding edge version of the client (https://bitbucket.org/bitcraze/crazyfli ... efault.zip) to see it it hits the same bug.
casackett
Beginner
Posts: 2
Joined: Sun Jan 12, 2014 7:42 pm

Re: Install on MacBook

Post by casackett »

Thanks, maybe I will try reinstalling pyqt, or the newer version you suggested. I'll post the results.
Post Reply