文章出處

注意事項

關于python,pyqt的版本

筆者安裝的是eric,原來電腦安裝的是64位的python,32位的pyqt4,導致系統找不到pyqt,后來更換python版本為32搞定,猜測pyqt的版本須與python一致。

關于編碼

系統提示

Checking dependencies
Python Version: 2.7.11
Sorry, please install PyQt4.
An internal error occured.  Please report all the output of the program,
including the following traceback, to eric-bugs@eric-ide.python-projects.org.

Traceback (most recent call last):
  File "install.py", line 1518, in <module>
    main(sys.argv)
  File "install.py", line 1421, in main
    doDependancyChecks()
  File "install.py", line 1088, in doDependancyChecks
    print('Error: {0}'.format(msg))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 20: ordinal not in range(128)

后來改成utf8無效,最后修改為gb2312搞定。

安裝成功

D:\eric>python install.py
Checking dependencies
Python Version: 2.7.11
Found PyQt4
Found pyuic4
Found QScintilla2
Found QtGui
Found QtNetwork
Found QtSql
Found QtSvg
Qt Version: 4.8.7
sip Version: 4.16.8
PyQt Version: 4.11.4
QScintilla Version: 2.9
All dependencies ok.

Cleaning up old installation ...

Creating configuration file ...

Compiling user interface files ...

Compiling source files ...

Installing eric6 ...

Installation complete.

Press enter to continue...

ps:查看python是32位還是64位的方法

直接在cmd輸入python第二行就可以了


文章列表


不含病毒。www.avast.com
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 大師兄 的頭像
    大師兄

    IT工程師數位筆記本

    大師兄 發表在 痞客邦 留言(0) 人氣()