2009/10/10 NIE Cheng <[email protected]>: > > limodou 写道: >> 2009/10/10 NIE Cheng <[email protected]>: >> >>> limodou 写道: >>> >>>> 2009/10/10 NIE Cheng <[email protected]>: >>>> >>>> >>>>> Setup-Subversion-1.6.5.msi >>>>> py26-pysvn-svn165-1.7.1-1233.exe >>>>> 插件管理的的svn_plugin也开了 >>>>> >>>>> 但是在目录浏览中使用svn的命令就会出现,“你需要先安装pysvn模块...” >>>>> >>>>> 已经在ulipad的config.ini中加入了 >>>>> pythonpath = "D:\\python25\\Lib\\site-packages" >>>>> >>>>> 问题依旧 >>>>> >>>>> >>>>> >>>> 你的pysvn可以导入吗?在ulipad的shell下? >>>> >>>> >>>> >>> 刚才写错了个东西,在config.ini里面是 >>> [default] >>> debug = 0 >>> pythonpath = "d:\\python26\\Lib\\site-packages" >>> >>> 导入的时候出现如下错误: >>> >>>>>> import pysvn >>>>>> >>> Traceback (most recent call last): >>> File "<input>", line 1, in <module> >>> File "d:\python26\Lib\site-packages\pysvn\__init__.py", line 99, in <module> >>> ImportError: Module use of python26.dll conflicts with this version of >>> Python. >>> >> >> 看意思是你装的版本有冲突,是不是没有安装2.6版本的。 >> >> >> > python装的是2.6.2的,但是在ulipad中每次打开shell窗口显示在开始的却是: > Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit > (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. > > 请问这是不是与Ulipad安装目录下的python25.dll有关系呢? > > > > 说明你安装的是exe版本,因为它是在2.5下生成的,所以和pysvn不匹配。你要使用源码版本。
-- I like python! UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/ UliWeb <<simple web framework>>: http://uliwebproject.appspot.com My Blog: http://hi.baidu.com/limodou
