问题 I've tried multiple ways to import a module in a post here, but I decided to post a new question since that post was about boost not being able to find the module. Here's the structure of the folder: project |__ utilities | |__ foo.py | |__ boost_extensions | |__ myclass.cpp | |__ myclass.so | |__ someotherstuff | |__ bar.py | |__ mylib.py | |__ __main__.py in foo.py, I have some code that imports from mylib.py: from ..mylib import MyLib class Foo: # code in myclass.cpp, I could not find a