Conda package not working on windows (32 bit?) and python 3.5
Hi!
If I install modeller via conda:
export KEY_MODELLER=XXXX conda install -c salilab modeller
Then I get an error when importing modeller
Python 3.5.2 |Anaconda 4.1.1 (32-bit)| (default, Jul 5 2016, 11:45:57) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import modeller Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Anaconda3\Library\modeller\modlib\modeller__init__.py", line 93, in <module> import _modeller ImportError: DLL load failed: The specified module could not be found. >>>
I tried copying around the file _modeller.pyd to folders in the PATH, but that did not solve the problem.
The installed version is modeller 9.17 py35_1 salilab
But if I install from the stand-alone installer everything works fine.
Best, Ajasja
On 9/2/16 7:35 AM, Ajasja Ljubetič wrote: > If I install modeller via conda: > > export KEY_MODELLER=XXXX > conda install -c salilab modeller
Did you really use 'export' to set the environment variable? Usually on Windows you'd need to use 'set' instead.
> Then I get an error when importing modeller ... > import _modeller > ImportError: DLL load failed: The specified module could not be found.
That's strange. I just tried a fresh install of miniconda3 on a 32-bit Windows 7 box and everything works fine. What version of Windows are you using?
> I tried copying around the file _modeller.pyd to folders in the PATH, > but that did not solve the problem.
Right, Python is finding _modeller.pyd just fine but one of the DLLs it relies on can't be found. The most likely candidate is the C runtime, which used to be included with conda but got removed once they started building with the same runtime as Python. Does the problem go away if you install it, i.e.
conda install vs2010_runtime
?
Ben Webb, Modeller Caretaker
Hi!
Did you really use 'export' to set the environment variable? Usually on > Windows you'd need to use 'set' instead.
Well yes, I always cheat a little and install Git for windows https://git-scm.com/ so that I get a bash environment for free:)
That's strange. I just tried a fresh install of miniconda3 on a 32-bit > Windows 7 box and everything works fine. What version of Windows are you > using? > I was using 32 bit windows 7 (Version 6.1.7600)
conda install vs2010_runtime > > This fixes the problem, thanks!
Best, Ajasja
On 9/16/16 7:21 AM, Ajasja Ljubetič wrote: > > conda install vs2010_runtime > This fixes the problem, thanks!
Great! I've updated the 32-bit Windows Modeller conda package to pull this in as a dependency, so this problem should now be fixed.
Ben Webb, Modeller Caretaker
participants (2)
-
Ajasja Ljubetič
-
Modeller Caretaker