Can't Import .so File Due To Permissions Missing: Failed To Map Segment From Shared Object
I'm trying to run a custom project that uses large parts of the SiamMask project. When the code is ran, one of the many imports is this one: from . import region located in an __i
Solution 1:
I was able to fix this issue in the following way:
I moved the region.cpython-36m-x86_64-linux-gnu.so
file to the other drive where Python can execute. I then used the following code in the __init__
file:
import sys
sys.path.append('/path/to/.sofile')
import region
Post a Comment for "Can't Import .so File Due To Permissions Missing: Failed To Map Segment From Shared Object"