I’ve installed Couchbase Server on a Windows 7 64bit laptop along with the Python libs, etc in line with the setup guide, however I am getting the following error when importing Couchbase in my Python test script:
DLL load failed: The specified module could not be found.
Can anyone please point me in the direction of where it has gone wrong?
The trace log shows it is pulling in various Couchbase files, so I was thinking this might be a problem with the Python lib interacting with libcouchbase?
In case it was a problem with the installer, I also downloaded Visual Studio Express so I could try building libcouchbase from source using NMAKE, but still no joy.
Couchbase Server and the web management interface works perfectly, it’s just the Python integration that fails.
Couchbase Server 2.2
Python SDK 1.1 64bit
It’s a very simple script as you can see. os and sys are being imported for other purposes, testing manipulating the sys.path to see if that fixed anything, but it didn’t, so the associated code was removed.
I’ll try to reproduce it. You MAY need the CRT - though that’d be odd considering that one would hope it’s bundled within the Python binary.
Now that I look at it too though, it would seem that Python 3.3 is supposed to be building against VC10, whereas in these logs, it shows using the VC9 libcouchbase version. I’m going to investigate some more.
I think I have an idea what the problem is. The only thing is I’m not sure what the correct solution is. There doesn’t seem to be any definitive info out there saying what VS version Python wants for 3.3 x64