wxGlade-0.7.2.tar.gz をダウンロードし、その内容を抽出しました。Python3.6、wxPython、自作もインストールしています。
問題は、wxGlade-0.7.2 フォルダーで "python wxglade.py" を実行すると、次の出力が得られることです。
INFO : Starting wxGlade version "0.7.2" on Python 2.7.10
INFO : Base directory: /Users/shihaoheng/Downloads/wxGlade-0.7.2
INFO : Documentation directory: /Users/shihaoheng/Downloads/wxGlade-0.7.2/docs
INFO : Icons directory: /Users/shihaoheng/Downloads/wxGlade-0.7.2/icons
INFO : Build-in widgets directory: /Users/shihaoheng/Downloads/wxGlade-0.7.2/widgets
INFO : Template directory: /Users/shihaoheng/Downloads/wxGlade-0.7.2/templates
INFO : Credits file: /Users/shihaoheng/Downloads/wxGlade-0.7.2/CREDITS.txt
INFO : License file: /Users/shihaoheng/Downloads/wxGlade-0.7.2/LICENSE.txt
INFO : Manual file: /Users/shihaoheng/Downloads/wxGlade-0.7.2/docs/html/index.html
INFO : Tutorial file: /Users/shihaoheng/Downloads/wxGlade-0.7.2/docs/tutorial.html
INFO : Home directory: /Users/shihaoheng
INFO : Application data directory: /Users/shihaoheng/.wxglade
INFO : Configuration file: /Users/shihaoheng/.wxglade/wxgladerc
INFO : History file: /Users/shihaoheng/.wxglade/file_history.txt
INFO : Log file: /Users/shihaoheng/.wxglade/wxglade.log
INFO : Current locale settings are:
INFO : Language code: zh_TW
INFO : Encoding: UTF-8
INFO : Filesystem encoding: utf-8
ERROR : Please install missing Python module "wxversion".
Please install missing Python module "wxversion".
明らかに、Python2.7.10にgladeをインストールしようとしています(確認方法はわかりませんが、インストールしたと思います)。wxPythonをインストールすると、自動的に私の3.6バージョン。
これは事実でしょうか?もしそうなら、どうすれば古いバージョンの python に特に wxPython をインストールして、この "wxversion not found" エラーが発生しないようにできますか?
編集: Python 2.7.13 がインストールされていなかったので、今インストールしてから "python2.7 wxglade.py" を実行すると、以前とまったく同じエラーが発生しました。wxPython を brew で再インストールしてみましたが、「警告: wxpython 3.0.2.0 は既にインストールされています」というエラーが出ました。特にpython 2.7.13バージョンなどにwxPythonをインストールする方法はありますか?