2009/10/7 phobie :
> Michael Ströder wrote:
>> Which Win32 build of python-ldap are you using? It seems it requests a
>> separate DLL.
>
> I wrote "main(['python_ldap-2.3.8-py2.6-win32.egg'])" in my first mail.
> The pypi exe-installers does not seem to have a silent install option...
>
If you in
Michael Ströder wrote:
> Which Win32 build of python-ldap are you using? It seems it requests a
> separate DLL.
I wrote "main(['python_ldap-2.3.8-py2.6-win32.egg'])" in my first mail.
Got that file from
http://svn.kmrc.de/download/distribution/contrib/python_ldap-2.3.8-py2.6-win32.egg
.
(The .egg
phobie wrote:
> Michael Ströder schrieb:
>> \\somehost\someshare\python2.6\python.exe -v -c "import ldap"
>
> File attached!
> (converted to utf-8 and translated to english)
Which Win32 build of python-ldap are you using? It seems it requests a
separate DLL.
Ciao, Michael.
-
Michael Ströder schrieb:
> \\somehost\someshare\python2.6\python.exe -v -c "import ldap"
File attached!
(converted to utf-8 and translated to english)
> I'm not too familiar with using Python under Windows. I suspect that there
> might also be some registry settings for setting the lib path.
It
phobie wrote:
> C:\> \\somehost\someshare\python2.6\python.exe
import ldap
> Traceback (most recent call last):
> File "", line 1, in
> File
> "\\somehost\someshare\python2.6\lib\site-packages\python_ldap-2.3.8-py2.6-win32.egg\ldap\__init__
> .py", line 22, in
> from _ldap import *
>
I am trying to use Python with python-ldap on a CIFS share.
While Python works fine the import of ldap fails.
Installed Active Python 2.6.2.2.
Copied the Python dir to the share.
Copied python26.dll pythoncom26.dll pywintypes26.dll to the new Python dir.
Uninstalled the local Python!
C:\> \\so