BRML / climin

Optimizers for machine learning
Other
180 stars 66 forks source link

Installing climin on windows x64, anaconda 2.5 and python 2.7 #40

Closed finmod closed 8 years ago

finmod commented 8 years ago

Let me point out that with anaconda 2.5, python 2.7 and windows x64, after installing climin with pip, it is necessary to comment out this section in init.py of climin.

if sys.platform == 'win32':

basepath = imp.find_module('numpy')[1]

ctypes.CDLL(os.path.join(basepath, 'core', 'libmmd.dll'))

ctypes.CDLL(os.path.join(basepath, 'core', 'libifcoremd.dll'))

then climin runs superbly.

Today 64-bit machines are probably the majority and 32-bit machines an exception.

msoelch commented 8 years ago

Should be fixed as of now with downward compatibility.