pyqt5 源码 eric 记录

本文详细介绍了Eric集成开发环境的下载、安装过程及配置方法,包括依赖检查与更新、Python环境搭建、PyQt5组件确认及插件安装。通过运行安装脚本,成功创建了Eric IDE的虚拟环境,并完成了必要的软件包安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

下载地址

http://eric-ide.python-projects.org/eric-download.html
https://hg.die-offenbachs.homelinux.org/eric/file/tip/eric6/E5Gui/E5SideBar.py

整体界面如下:

在这里插入图片描述

为eric 专门建立了一个虚拟pyhon 环境

在这里插入图片描述
D:\PYTHON_ENV\py367_64_eric
单独的一个工程
F:\pyqt5\work\pyqt5_code_collection_jack\running\eric6-20.7
使用pycharm 单独打开
F:\pyqt5\work\pyqt5_code_collection_jack\running\eric6-20.7

在这里插入图片描述

eric6-20.7>python install.py

Checking dependencies
'pip' is outdated (installed 20.1.1, available 20.2)
Shall 'pip' be updated (recommended)? (Y/n) y
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pip
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/36/74/38c2410d688ac7b48afa07d413674afc1f903c1c1f854de51dc8eb2367a5/pip-20.2-py2.py3-none-any.whl (1.5 MB)
     |████████████████████████████████| 1.5 MB 298 kB/s
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.1.1
    Uninstalling pip-20.1.1:
      Successfully uninstalled pip-20.1.1
Successfully installed pip-20.2


Python Version: 3.6.7
Found PyQt5
Found pyuic5
Found QScintilla2
Found QtGui
Found QtNetwork
Found QtPrintSupport
Found QtSql
Found QtSvg
Found QtWidgets
Found QtWebEngineWidgets
Qt Version: 5.15.0
sip Version: 5.3.0
PyQt Version: 5.15.0
QScintilla Version: 2.11.5
PyQtChart: 5.15.0
PyQtWebEngine. 5.15.0
All dependencies ok.

Cleaning up old installation ...

Creating configuration file ...

Compiling user interface files ...

Compiling source files ...

Installing eric6 ...
Installing Python API files to 'D:\PYTHON_ENV\py367_64_eric\Lib\site-packages\PyQt5\Qt\qsci\api\python'.
Installing Ruby API files to 'D:\PYTHON_ENV\py367_64_eric\Lib\site-packages\PyQt5\Qt\qsci\api\ruby'.
Installing QSS API files to 'D:\PYTHON_ENV\py367_64_eric\Lib\site-packages\PyQt5\Qt\qsci\api\qss'.

The Python package 'pywin32' could not be imported.

Shall 'pywin32' be installed using pip? (Y/n) Y
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pywin32
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e7/8a/8458687e4f1a7978bd59f8fd0bc4e6c56cf640c551877ca9a3e35239ae5b/pywin32-228-cp36-cp36m-win_amd64.whl (9.1 MB)
     |████████████████████████████████| 9.1 MB 328 kB/s
Installing collected packages: pywin32
Successfully installed pywin32-228

Installation complete.


Press enter to continue...

(py367_64_eric) F:\pyqt5\work\pyqt5_code_collection_jack\running\eric6-20.7>
(py367_64_eric) F:\pyqt5\work\pyqt5_code_collection_jack\running\eric6-20.7>
pip list
Package       Version
------------- ----------
click         7.1.2
pip           20.2
PyQt5         5.15.0
PyQt5-sip     12.8.0
pyqt5-tools   5.15.0.1.7
PyQtChart     5.15.0
PyQtWebEngine 5.15.0
python-dotenv 0.14.0
pywin32       228
QScintilla    2.11.5
setuptools    47.1.1
wheel         0.34.2

在这里插入图片描述
在这里插入图片描述

下一次 直接运行 eric6.py 就可以 直接 运行 eric界面

运行log :

D:\PYTHON_ENV\py367_64_eric\Scripts\python.exe F:/pyqt5/work/pyqt5_code_collection_jack/running/eric6-20.7/eric/eric6/eric6.py
Warning: translation file 'eric6_zh_CN'could not be loaded.
Using default.
Warning: translation file 'qscintilla_zh_CN'could not be loaded.
Using default.
BackgroundService listening on: 55257

(py367_64_eric) F:\pyqt5\work\pyqt5_code_collection_jack\running\eric6-20.7\eric\eric6>python eric6.py --debug

运行界面:

(py367_64_eric) F:\pyqt5\work\pyqt5_code_collection_jack\running\eric6-20.7\eric\eric6>python eric6.py --debug
DEBUG:root:Importing Preferences
Warning: translation file 'eric6_zh_CN'could not be loaded.
Using default.
Warning: translation file 'qscintilla_zh_CN'could not be loaded.
Using default.
DEBUG:root:Starting...
DEBUG:root:Generating Main Window...
BackgroundService listening on: 57893
DEBUG:root:Initializing Plugin Manager...
DEBUG:root:Generating Main User Interface...
DEBUG:root:Creating Layout...
DEBUG:root:Creating Viewmanager...
DEBUG:root:Creating Previewer...
DEBUG:root:Creating Python AST Viewer
DEBUG:root:Creating sidebars...
DEBUG:root:Creating Sidebars Layout...
DEBUG:root:Creating Project Browser...
DEBUG:root:Creating Multiproject Browser...
DEBUG:root:Creating Template Viewer...
DEBUG:root:Creating Code Documentation Viewer...
DEBUG:root:Creating Debug Viewer...
DEBUG:root:Creating PyPI Package Manager...
DEBUG:root:Creating Conda Package Manager...
DEBUG:root:Creating Chat Widget...
DEBUG:root:Creating IRC Widget...
DEBUG:root:Creating MicroPython Widget...
DEBUG:root:Unknown device: (0x0403:0x6001 USB Serial Port)
DEBUG:root:Creating Task Viewer...
DEBUG:root:Creating Log Viewer...
DEBUG:root:Creating File Browser...
DEBUG:root:Creating Symbols Viewer...
DEBUG:root:Creating Numbers Viewer...
DEBUG:root:Creating Shell...
DEBUG:root:Creating central widget...
DEBUG:root:Created Layout
DEBUG:root:Creating Debugger UI...
DEBUG:root:Setting up connections...
DEBUG:root:Initializing Tools...
DEBUG:root:Registering Objects...
DEBUG:root:Initializing Actions...
DEBUG:root:Initializing Menus...
DEBUG:root:Initializing Toolbars...
DEBUG:root:Initializing Statusbar...
DEBUG:root:Initializing Plugins...
DEBUG:root:Activating Plugins...
DEBUG:root:Generating Plugins Toolbars...
DEBUG:root:Cleaning Plugins Download Area...
DEBUG:root:Restoring Toolbarmanager...
DEBUG:root:Setting View Profile...
DEBUG:root:Reading Tasks...
DEBUG:root:Reading Templates...
DEBUG:root:Starting Debugger...
DEBUG:root:<Debug-Server> {"jsonrpc": "2.0", "method": "ResponseCapabilities", "params": {"capabilities": 127, "clientType": "Python3"}}

DEBUG:root:<Debug-Server> {"jsonrpc": "2.0", "method": "ResponseBanner", "params": {"version": "Python 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 13:35:33) [MSC v.1900 64 bi
t (AMD64)]", "platform": "CAIPENG-PC", "dbgclient": "Standard"}}

splash

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值