2014/1/12 Maykel Franco <maykeldebian@xxxxxxxxx>: > 2014/1/12 Kacper Żuk <kacper.b.zuk@xxxxxxxxx>: >> 2014/1/12 Maykel Franco <maykeldebian@xxxxxxxxx>: >>> 2014/1/11 BlissSam <m13253@xxxxxxxxxxx>:> >>> Thanks for your responsed. I try install blink with python 2: >>> >>> [root@arch-maykel blink-0.6.0]# python2 setup.py install >>> running install >>> running build >>> running build_py >>> running build_scripts >>> running install_lib >>> running install_scripts >>> changing mode of /usr/bin/blink to 755 >>> running install_data >>> running install_egg_info >>> Removing /usr/lib/python2.7/site-packages/blink-0.6.0-py2.7.egg-info >>> Writing /usr/lib/python2.7/site-packages/blink-0.6.0-py2.7.egg-info >>> >>> And launch with python2: >>> >>> [root@arch-maykel blink-0.6.0]# python2 blink >>> /usr/bin/python2: can't find '__main__' module in 'blink' >>> >>> Am I doing something wrong? >> >> Try python2 /usr/bin/blink instead of python2 blink. > > > I try: > > [maykel@arch-maykel ~]$ python2 /usr/bin/blink > Traceback (most recent call last): > File "/usr/bin/blink", line 24, in <module> > from blink import Blink > File "/usr/lib/python2.7/site-packages/blink/__init__.py", line 27, > in <module> > from eventlib import api > ImportError: No module named eventlib You have to install eventlib: https://pypi.python.org/pypi/eventlib (remember to use python2 and not python).