Re: Error install blink-darcs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2014/1/11 BlissSam <m13253@xxxxxxxxxxx>:
> 在 2014-1-11,6:39,Maykel Franco <maykeldebian@xxxxxxxxx> 写道:
>
>> I get the source code blink-qt and I have installed blink with python
>> setup.py install
>>
>> When I run the blink:
>>
>> [root@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@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?

Thanks for all.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux