amperka / ino

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

No module named glob2 #252

Open der-ali opened 9 years ago

der-ali commented 9 years ago

I have just installed the inotool. when i run "ino --help" i get: Traceback (most recent call last): File "/usr/local/bin/ino", line 3, in from ino.runner import main File "/usr/local/lib/python2.7/dist-packages/ino/runner.py", line 23, in import ino.commands File "/usr/local/lib/python2.7/dist-packages/ino/commands/init.py", line 5, in from ino.commands.build import Build File "/usr/local/lib/python2.7/dist-packages/ino/commands/build.py", line 16, in from ino.environment import Version File "/usr/local/lib/python2.7/dist-packages/ino/environment.py", line 19, in from glob2 import glob ImportError: No module named glob2

any help ? I'm using Ubuntu 14.04

bao3 commented 9 years ago

I had the same issue ,but you could try to fix this by type in Terminal :

pip install glob2

good luck

der-ali commented 9 years ago

@bao3 glob2 is already installed :/

r0estir0bbe commented 8 years ago

The Ubuntu package glob2 is different than the required glob2 (a Python library). To install it, you can install python-pip and then pip to install it:

sudo apt-get install python-pip
sudo pip install glob2
docdawning commented 8 years ago

Thanks fellas. That worked for me.

ipinak commented 8 years ago

You just need to run pip install -r requirements.txt in case you have built this from source. If you install it through pip you shouldn't have this problem.