python pycharm pyqt 安装

1.python3

windows:www.python.org/download/windows/

我的是WIN7  64位所以选的是    Download Windows x86-64 executable installer        一路NEXT

2.pycharm

官网:https://www.jetbrains.com/pycharm/download/#section=windows

分为Professional  (注册版)    Community 免费版

我选注册版一路NEXT完成,然后破解,在activation code中填入此注册码:从(CNEKJPQZEX-)开始,到(zuoog==)结束,整个复制粘贴进去

CNEKJPQZEX-eyJsaWNlbnNlSWQiOiJDTkVLSlBRWkVYIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiQUMiLCJwYWlkVXBUbyI6IjIwMTgtMDEtMzAifSx7ImNvZGUiOiJETSIsInBhaWRVcFRvIjoiMjAxOC0wMS0zMCJ9LHsiY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDE4LTAxLTMwIn0seyJjb2RlIjoiUlMwIiwicGFpZFVwVG8iOiIyMDE4LTAxLTMwIn0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwMTgtMDEtMzAifSx7ImNvZGUiOiJEUE4iLCJwYWlkVXBUbyI6IjIwMTgtMDEtMzAifSx7ImNvZGUiOiJSQyIsInBhaWRVcFRvIjoiMjAxOC0wMS0zMCJ9LHsiY29kZSI6IlBTIiwicGFpZFVwVG8iOiIyMDE4LTAxLTMwIn0seyJjb2RlIjoiREMiLCJwYWlkVXBUbyI6IjIwMTgtMDEtMzAifSx7ImNvZGUiOiJEQiIsInBhaWRVcFRvIjoiMjAxOC0wMS0zMCJ9LHsiY29kZSI6IlJNIiwicGFpZFVwVG8iOiIyMDE4LTAxLTMwIn0seyJjb2RlIjoiUEMiLCJwYWlkVXBUbyI6IjIwMTgtMDEtMzAifSx7ImNvZ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dEwQCMAAwHQYDVR0OBBYEFGEpG9oZGcfLMGNBkY7SgHiMGgTcMEgGA1UdIwRBMD+AFKOetkhnQhI2Qb1t4Lm0oFKLl/GzoRykGjAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBggkA0myxg7KDeeEwEwYDVR0lBAwwCgYIKwYBBQUHAwEwCwYDVR0PBAQDAgWgMA0GCSqGSIb3DQEBCwUAA4ICAQC9WZuYgQedSuOc5TOUSrRigMw4/+wuC5EtZBfvdl4HT/8vzMW/oUlIP4YCvA0XKyBaCJ2iX+ZCDKoPfiYXiaSiH+HxAPV6J79vvouxKrWg2XV6ShFtPLP+0gPdGq3x9R3+kJbmAm8w+FOdlWqAfJrLvpzMGNeDU14YGXiZ9bVzmIQbwrBA+c/F4tlK/DV07dsNExihqFoibnqDiVNTGombaU2dDup2gwKdL81ua8EIcGNExHe82kjF4zwfadHk3bQVvbfdAwxcDy4xBjs3L4raPLU3yenSzr/OEur1+jfOxnQSmEcMXKXgrAQ9U55gwjcOFKrgOxEdek/Sk1VfOjvS+nuM4eyEruFMfaZHzoQiuw4IqgGc45ohFH0UUyjYcuFxxDSU9lMCv8qdHKm+wnPRb0l9l5vXsCBDuhAGYD6ss+Ga+aDY6f/qXZuUCEUOH3QUNbbCUlviSz6+GiRnt1kA9N2Qachl+2yBfaqUqr8h7Z2gsx5LcIf5kYNsqJ0GavXTVyWh7PYiKX4bs354ZQLUwwa/cG++2+wNWP+HtBhVxMRNTdVhSm38AknZlD+PTAsWGu9GyLmhti2EnVwGybSD2Dxmhxk3IPCkhKAK+pl0eWYGZWG3tJ9mZ7SowcXLWDFAk0lRJnKGFMTggrWjV8GYpw5bq23VmIqqDLgkNzuoog==

如果填入的注册码不能使用,在本地的C:\Windows\System32\drivers\etc\hosts文件下添加

0.0.0.0 account.jetbrains.com

貌似安装完pycharm后PYTHON的环境配置也已经自动完成,可以运行-->CMD-->-->python 试一下。

要是嫌弃太麻烦就选社区版。我没觉得破解有多麻烦,2分钟搞定。

3.PyQt5

1.  官网:www.riverbankcomputing.com/

或者直接下载最新版:https://www.riverbankcomputing.com/software/pyqt/download5   选WINDOWS的,.ZIP文件,然后打开一个坑爹新页面,上面有自动倒数的进度条,等着数到0就可以自动下载了,有时打不开,有时下载很慢。建议用后面的方法安装。

2.  !!!!!!!!!!!!!注意,安装PYQT前,首先安装  SIP !!!!!!!!!!

运行-->CMD-->pip3 install Sip

完成后

pip3 install PyQt5

3.  或者直接打开pycharm软件--->file--->settings---->project--->project inerperter  --->右侧窗口右侧的  +  号---->输入  PyQt  --->下面的install package ,等完成就行了,几乎所以常用的python扩展库都可以在这里查找到安装,甚是爽快!!!!安装失败的再尝试其他安装方法。比从网页上下载方便的多,FLASK,opencv,django........几乎都可以在这里安装,万金油安装库的方法

最后要安装PYQT-TOOL

大功告成,可以开始玩了

还有一个Eric6的GUI编辑程序可以安装,还有一个Qt Designer 界面控件拖拽开发环境,便于迅速开发界面,我不打算用了,打算PYQT就纯手打完成。没有测试过,就不记录了

上一篇:Error format not a string literal and no format arguments解决方案


下一篇:这题实在不知道起啥名好了 分类: sdutOJ 2015-06-22 17:17 19人阅读 评论(0) 收藏