Python下载地址
突然在机房想打一打python...然后准备安装...
???我的处理器有问题???百度了一下...x86 win7 的MSI没开...
这时你需要新建一个txt
里面写上:(仅供copy)
Windows Registry Editor Version 5.00Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\.msi]@="Msi.Package"[HKEY_CLASSES_ROOT\Msi.Package]"EditFlags"=hex:00,00,10,00"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\ 00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\ 32,00,5c,00,6d,00,73,00,69,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,33,00,34,\ 00,00,00@="Windows Installer Package"[HKEY_CLASSES_ROOT\Msi.Package\DefaultIcon]@="C:\\WINDOWS\\system32\\msiexec.exe,0"[HKEY_CLASSES_ROOT\Msi.Package\shell]@="Open,Repair,Uninstall"[HKEY_CLASSES_ROOT\Msi.Package\shell\Open]@="&Install""MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\ 6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\ 00,6d,00,73,00,69,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,33,00,36,00,00,00[HKEY_CLASSES_ROOT\Msi.Package\shell\Open\command]@=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\ 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\ 73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\ 00,69,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,00,00,00[HKEY_CLASSES_ROOT\Msi.Package\shell\Repair]@="Re&pair""MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\ 6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\ 00,6d,00,73,00,69,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,33,00,37,00,00,00[HKEY_CLASSES_ROOT\Msi.Package\shell\Repair\command]@=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\ 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\ 73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\ 00,66,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,00,00,00[HKEY_CLASSES_ROOT\Msi.Package\shell\Uninstall]@="&Uninstall""MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\ 6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\ 00,6d,00,73,00,69,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,33,00,38,00,00,00[HKEY_CLASSES_ROOT\Msi.Package\shell\Uninstall\command]@=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\ 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\ 73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\ 00,78,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,00,00,00
然后把文件名字改为:ClearError_MsiFile.reg
单击执行
部分杀毒软件会报错,pass就好了
然后再单击
你的MSI就配置好了
接着打开你的python.msi
一直next到最后
这就安装完了...
接着我们来配置py的环境变量...
右键单击计算机,属性-高级系统设置-高级-环境变量-在系统变量中找到Path-打开在最后面添加
;C:\Python27
注意,前边是一个英文的分号
后面写你的py安装路径
大概操作是这样..
然后确定...
win+R打开cmd...
输入python...
这样就表示你成功了...
但是..我觉得需要一个IDE...
PyCharm下载地址 https://www.jetbrains.com/pycharm/download/
打开之后就是这么个界面
左边是专业版估计的收钱不过你可以学生申请apply,右边是社区版建议初学者下载这个...
安装完后
嗯...接下来就需要我继续探索了...先来个helloworld吧