Answer the question
In order to leave comments, you need to log in
How to make a python module available?
Hello. Compiled a module for python in *.so format. If you run python in the directory where the assembled module is located, then everything is successfully imported. If you run python outside of this directory, you won't be able to import anything.
>>> from container import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'container'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question