[SOLVED] client installation on MacBook Pro

Post here to get support
floripaolo
Beginner
Posts: 11
Joined: Sat Jul 13, 2013 6:32 am

[SOLVED] client installation on MacBook Pro

Post 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 :mrgreen: I'm pretty new to command lines and such.

Thanks anyways for your patience and support.

Paolo
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: client installation on MacBook Pro

Post 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
floripaolo
Beginner
Posts: 11
Joined: Sat Jul 13, 2013 6:32 am

Re: client installation on MacBook Pro

Post 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


:?:
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: client installation on MacBook Pro

Post by marcus »

It looks like you are already in the bin directory so just writing python2.7 cfclient should work.
floripaolo
Beginner
Posts: 11
Joined: Sat Jul 13, 2013 6:32 am

Re: client installation on MacBook Pro

Post by floripaolo »

Thanks

This is my output now.

CRITICAL:cfclient.cfclient:No pyusb installation found, exiting!
:shock:

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 :( ?
floripaolo
Beginner
Posts: 11
Joined: Sat Jul 13, 2013 6:32 am

Re: client installation on MacBook Pro

Post 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.
floripaolo
Beginner
Posts: 11
Joined: Sat Jul 13, 2013 6:32 am

Re: client installation on MacBook Pro

Post by floripaolo »

GOT IT


sorry for being a pain.
Web
Beginner
Posts: 3
Joined: Thu Dec 05, 2013 1:42 pm

Re: client installation on MacBook Pro

Post 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
Last edited by Web on Thu Dec 05, 2013 2:27 pm, edited 1 time in total.
Web
Beginner
Posts: 3
Joined: Thu Dec 05, 2013 1:42 pm

Re: client installation on MacBook Pro

Post 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?
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: [SOLVED] client installation on MacBook Pro

Post by tobias »

I wish I could help you but I have no mac knowledge... Hope somebody else can!
Post Reply