Page 1 of 2
[SOLVED] client installation on MacBook Pro
Posted: Sat Jul 13, 2013 9:00 am
by floripaolo
After installing using MacPorts, I downloaded and extracted the cfclient (where to? I left it in the download folder).
Trying to run it with
python2.7 bin/cfclient
resulted in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'bin/cfclient': [Errno 2] No such file or directory
As you may have noticed

I'm pretty new to command lines and such.
Thanks anyways for your patience and support.
Paolo
Re: client installation on MacBook Pro
Posted: Mon Jul 15, 2013 8:23 am
by marcus
Hi Paolo,
Did you have a look at the
instructions on the Wiki for Mac OSX install? Are you sure that you are in the correct directory when issuing the command? It seems as if the bin/cfclient is not found.
/Marcus
Re: client installation on MacBook Pro
Posted: Wed Jul 17, 2013 6:55 am
by floripaolo
Hi Marcus
Thanks for you reply.
I think I'm in the right directory:
xxxxxxxxxxxxxxx:bin root# cd /Users/xxxxxxxxxxxx/Downloads/cfclient-2013.4.2/bin
xxxxxxxxxxxxxxx:bin root# pwd
/Users/xxxxxxxxxxxx/Downloads/cfclient-2013.4.2/bin
xxxxxxxxxxxxxxx:bin root# python2.7 bin/cfclient
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'bin/cfclient': [Errno 2] No such file or directory

Re: client installation on MacBook Pro
Posted: Wed Jul 17, 2013 8:53 am
by marcus
It looks like you are already in the bin directory so just writing python2.7 cfclient should work.
Re: client installation on MacBook Pro
Posted: Wed Jul 17, 2013 1:29 pm
by floripaolo
Thanks
This is my output now.
CRITICAL:cfclient.cfclient:No pyusb installation found, exiting!
But I followed the instructions and everything seemed running ok.
Trying to run port install py-pyusb-devel
returns:
xxxxxxxxxxx:cfclient-2013.4.2 root# port install py-pyusb-devel
-sh: port: command not found
now what

?
Re: client installation on MacBook Pro
Posted: Thu Jul 18, 2013 6:38 am
by floripaolo
I worked around my first issues but now when I'm trying to run
port install py-pyusb-devel
I get
Warning: xcodebuild exists but failed to execute
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
I do have xcode 4.6.2 and command line tools installed.
Re: client installation on MacBook Pro
Posted: Thu Jul 18, 2013 8:18 am
by floripaolo
GOT IT
sorry for being a pain.
Re: client installation on MacBook Pro
Posted: Thu Dec 05, 2013 1:52 pm
by Web
Hello Fellow Crazyflies
I apologise for my lack of knowledge. I am running OS X Mavericks and have installed all the steps up to number 9,
under the Homebrew install of the cfclient. However I don't know how to progress and get the client working.
Please can someone help me? It is appreciated.
Web
Re: client installation on MacBook Pro
Posted: Thu Dec 05, 2013 2:27 pm
by Web
I managed to run the client
but then it said
xxxxxxxxxxxxxx:cfclient-2013.4.2 xxxxxxxxxxxxxxx$ pip install pyusb
Downloading/unpacking pyusb
Could not find a version that satisfies the requirement pyusb (from versions: 1.0.0a2, 1.0.0a2, 1.0.0a3, 1.0.0a3, 1.0.0b1)
Cleaning up...
No distributions matching the version for pyusb
What now?
Re: [SOLVED] client installation on MacBook Pro
Posted: Mon Dec 09, 2013 9:12 am
by tobias
I wish I could help you but I have no mac knowledge... Hope somebody else can!