boost-python-examples icon indicating copy to clipboard operation
boost-python-examples copied to clipboard

Cant import hello

Open Dariusz1989 opened this issue 4 years ago • 2 comments

Hey

Losing my banans here... all I get is >

import hello
ImportError: DLL load failed while importing hello: The specified module could not be found.

I can see the dll file and all. But ???? I'm lost :- ( win10x64/msvc/clion/ amd64 compile

Everything compiled fine as far as I can tell. Any help ?

Dariusz1989 avatar May 08 '20 21:05 Dariusz1989

Well, I'm working on Linux and OSX, so there is not so much I can help here. Some more log output of compilation and run might help, also giving exact versions of boost, python and the compiler.

Achimh3011 avatar May 23 '20 14:05 Achimh3011

It's an old question, but this problem actually should be with your type of linking with boost. If it's dynamic linking you should also have your dll from boost(boost_python) in your srcipt run directory or add it to PATH.

AI-Decay avatar Nov 02 '22 19:11 AI-Decay