fredbasset1...@gmail.com wrote:
> I can only get it to work if I copy the .so file to the directory
> where daemon.py is and change the import to "import diomodule".
And to supplement my previous reply, another solution is to make sure
that /root/project/drivers/dio is in your PYTHONPATH. Then you
fredbasset1...@gmail.com wrote:
> [...]
> So my question is why can't Python locate the new extension module
> when I try to import it with "import project.drivers.dio.diomodule"?
This import statement binds the module to the name
"project.drivers.dio.diomodule". It does not bind anything to the na