1. 程式人生 > >[python]安裝wxpython的時候報錯 “no installation of python 2.7 found in registy”

[python]安裝wxpython的時候報錯 “no installation of python 2.7 found in registy”

core python 2 cor pytho local png 問題 ont cal

技術分享圖片

win7上,已經安裝python27,但是在安裝wxpython的時候,卻顯示沒有安裝python27.
然後,我通過直接修改註冊表的方法,把這個問題解決掉了。
1、win+r,輸入regedit;
2、創建自己的註冊表

HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Python/PythonCore/2.7/InstallPath
3、從已有註冊表拷貝內容
KEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/2.7/InstallPath

活齊。

[python]安裝wxpython的時候報錯 “no installation of python 2.7 found in registy”