This is probably an issue with the installation of the Arduino IDE. When you installed this IDE, were there other versions of the Arduino IDE installed? There may be an issue with some libraries between the various versions you have installed. I’d recommend you to uninstall the Arduino IDEs you have installed and make sure to delete all files properly. Then follow the installation procedure and install all drivers and the IDE manually IoT - Installing the Arduino* IDE | Intel® Developer Zone
Additionally, make sure you’ve already followed the getting started guide IoT - Intel® Edison Board Get Started Guide | Intel® Developer Zone and make sure you didn’t miss any important detail.