Boost.Python extension
![](https://secure.gravatar.com/avatar/b22b4daacf60400d8b2424f332c1de63.jpg?s=120&d=mm&r=g)
I am trying to use Boost.python to create a python extension. I have created the hello_ext example but find that I cannot import it. I am always getting the error "ImportError: No module named 'hello_ext'". Boost 1.59.0 Python 3.5 Visual Studio 2015
![](https://secure.gravatar.com/avatar/8dbfbbc4e48afe0caa43412a8c03ef07.jpg?s=120&d=mm&r=g)
On 16 October 2015 at 18:13, Jeff Archer
I am trying to use Boost.python to create a python extension. I have created the hello_ext example but find that I cannot import it. I am always getting the error "ImportError: No module named 'hello_ext'".
Obivous checks: - Can the Python interpreter find the module, via PYTHONPATH, sys.path? - Does it have any run-time dependencies missing? You may check hello.pyd with dependency walker. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
participants (2)
-
Jeff Archer
-
Mateusz Loskot