[arch-general] Error install blink-darcs

Maykel Franco maykeldebian at gmail.com
Sun Jan 12 08:24:33 EST 2014


2014/1/11 BlissSam <m13253 at hotmail.com>:
> 在 2014-1-11,6:39,Maykel Franco <maykeldebian at gmail.com> 写道:
>
>> I get the source code blink-qt and I have installed blink with python
>> setup.py install
>>
>> When I run the blink:
>>
>> [root at arch-maykel maykel]# blink
>> Traceback (most recent call last):
>>  File "/usr/bin/blink", line 24, in <module>
>>    from blink import Blink
>>  File "/usr/lib/python3.3/site-packages/blink/__init__.py", line 159
>>    except (OSError, IOError), e:
>>                             ^
>> SyntaxError: invalid syntax
>
> You need to python2 setup.py install


Thanks for your responsed. I try install blink with python 2:

[root at 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 at arch-maykel blink-0.6.0]# python2 blink
/usr/bin/python2: can't find '__main__' module in 'blink'

Am I doing something wrong?

Thanks for all.


More information about the arch-general mailing list