Closed duxan closed 2 years ago
After make and appending /src to sys.path in python script I get:
make
OSError: dlopen(libssw.so, 6): image not found
In script I have:
import sys sys.path.append('/Users/duxan/apps/Complete-Striped-Smith-Waterman-Library/src') from ssw_wrap import Aligner
I have resolved it by putting absolute path in ssw_wrap.py, or it could be done with os.path.dirname(__file__) + '/libssw.so'
os.path.dirname(__file__) + '/libssw.so'
Would it be safe to implement this solution with os as platform independent?
os
After
make
and appending /src to sys.path in python script I get:In script I have:
I have resolved it by putting absolute path in ssw_wrap.py, or it could be done with
os.path.dirname(__file__) + '/libssw.so'
Would it be safe to implement this solution with
os
as platform independent?