amperka / ino

Command line toolkit for working with Arduino hardware
http://inotool.org
MIT License
1.08k stars 233 forks source link

ino build command fails on rasberry pi #268

Open Qualphey opened 8 years ago

Qualphey commented 8 years ago

I have installed inotools on raspberry pi and now I'm trying to use it. But when I run ino build i get the following output:

Traceback (most recent call last):
  File "/usr/local/bin/ino", line 4, in <module>
    __import__('pkg_resources').run_script('ino==0.3.7', 'ino')
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 534, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1438, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/ino-0.3.7-py2.7.egg/EGG-INFO/scripts/ino", line 6, in <module>
    main()
  File "/usr/local/lib/python2.7/dist-packages/ino-0.3.7-py2.7.egg/ino/runner.py", line 76, in main
    args.func(args)
  File "/usr/local/lib/python2.7/dist-packages/ino-0.3.7-py2.7.egg/ino/commands/build.py", line 283, in run
    self.discover(args)
  File "/usr/local/lib/python2.7/dist-packages/ino-0.3.7-py2.7.egg/ino/commands/build.py", line 123, in discover
    core_place = os.path.join(board['_coredir'], 'cores', board['build']['core'])
KeyError: '_coredir'
shaleh commented 8 years ago

Did you have the arduino package installed before running this?