Servo Sweep example Error

Whenever i try to download the sweep example to my arduino, i keep on getting this error

Arduino: 1.6.5 (Mac OS X), Board: "Arduino/Genuino Uno"Sketch uses 2,564 bytes (7%) of program storage space. Maximum is 32,256 bytes.Global variables use 56 bytes (2%) of dynamic memory, leaving 1,992 bytes for local variables. Maximum is 2,048 bytes.avrdude: ser_open(): can't open device "/dev/cu.usbmodemfd141": No such file or directoryioctl("TIOCMGET"): Inappropriate ioctl for deviceProblem uploading to board. See for suggestions. This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.

I am fairly new to arduino and i have no idea what this means. Thanks

It’s telling you that the sketch compiled fine, but avrdude can’t communicate with the board. Make sure you have the right board and serial port selected in the IDE before you try to upload. If those are right then you might some driver problem.