我剛剛得到了Panda3D。我刪除了包含的Python版本。在我的Python目錄,我把一個文件panda.pth
看起來像這樣:在Python 2.6上運行Panda3D
C:\Panda3D-1.6.2
C:\Panda3D-1.6.2\bin
但是當我運行import direct.directbase.DirectStart
,我得到:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import direct.directbase.DirectStart
File "C:\Panda3D-1.6.2\direct\directbase\DirectStart.py", line 3, in <module>
from direct.showbase import ShowBase
File "C:\Panda3D-1.6.2\direct\showbase\ShowBase.py", line 10, in <module>
from pandac.PandaModules import *
File "C:\Panda3D-1.6.2\pandac\PandaModules.py", line 1, in <module>
from libpandaexpressModules import *
File "C:\Panda3D-1.6.2\pandac\libpandaexpressModules.py", line 1, in <module>
from extension_native_helpers import *
File "C:\Panda3D-1.6.2\pandac\extension_native_helpers.py", line 75, in <module>
Dtool_PreloadDLL("libpandaexpress")
File "C:\Panda3D-1.6.2\pandac\extension_native_helpers.py", line 73, in Dtool_PreloadDLL
imp.load_dynamic(module, pathname)
ImportError: Module use of python25.dll conflicts with this version of Python.
我假設這有什麼用我怎麼辦Python 2.6。任何解決方案
有趣。有沒有估計何時會出現? – 2009-08-25 07:33:31