zoukankan      html  css  js  c++  java
  • python pyqt4 ide eric安装

    注意事项

    关于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第二行就可以了

  • 相关阅读:
    [每天解决一问题系列
    [每天解决一问题系列
    [每天解决一问题系列
    nodejs&mongo&angularjs
    [转]Express框架
    [转]Use HandleBars in Express
    10 Tips for Optimizing Your Website’s Speed
    One difference between AngularJS' $location and window.location
    Why does Http header contains "X-SourceFiles"?
    JavaScript数组常用方法
  • 原文地址:https://www.cnblogs.com/asworm/p/5429646.html
Copyright © 2011-2022 走看看