Gamebryo2.5 和 stackless Python的聯合調試配置

來源:互聯網
上載者:User

1. 安裝stackless Python2.5

     地址:  http://www.stackless.com/binaries/python-2.5.2-stackless.msi

     注意: 如果需要在Vista系統安裝, 必須使用2.6版本, 不然將會出現ntdll.dll運行錯誤.

2. 下載stackless Python2.5依賴包, 解壓到stackless Python2.5的安裝目錄下. 將解壓後目錄下的

     地址:  http://www.stackless.com/binaries/stackless-252-export.tar.bz2

3. 下載msvcr71d.dll, 解壓到stackless Python2.5的安裝目錄下(2.6.2版本忽略此步).

     地址:  http://www.dll-files.com/dllindex/msvcr71d.zip?0VHdRFZLlX

4.  將stackless Python2.5的include, lib目錄添加到VC++ Directories的include files和Library files中(Tools/Options../Projects and Solutions/VC++ Directories)

     注: 如果你安裝的是stackless Python2.6, 則還需要下載VC2008的運行庫(Microsoft Visual C++ 2008 Redistributable Package)

          地址: http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=zh-cn

5.  開啟控制台, 輸入c:\Python26\Lib\idlelib\idle.py(假設Python安裝在C盤下), 如果IDLE (Python GUI)沒有啟動.並且在控制台中輸出以下資訊 就需要將Python26\tcl檔案夾下的
     tcl8.5和tk8.5複製到Python26\Lib檔案夾下.
     
        self.tk = _tkinter.create(screenName, baseName, className, interactive, want
        objects, useTk, sync, use)
       _tkinter.TclError: Can't find a usable init.tcl in the following directories:

       或者
       self.tk = _tkinter.create(screenName, baseName, className, interactive, want
       objects, useTk, sync, use)
       _tkinter.TclError: Can't find a usable tk.tcl in the following directories:

       

vibilin 2009-08-29 09:32 發表評論
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.