I'm trying to read a .sav
file with Python 3 using savReaderWriter:
Here's my code :
from savReaderWriter import SavReader
with SavReader(mySavFile, returnHeader = True) as reader:
header = reader.next()
for line in reader:
process(line)
I get the following error :
OSError: dlopen(/Users/myusername/.virtualenvs/master/src/savreaderwriter/savReaderWriter/spssio/macos/libicuuc48.1.dylib, 6): Library not loaded: @executable_path/../lib/libicudata48.1.dylib
Referenced from: /Users/myusername/.virtualenvs/master/src/savreaderwriter/savReaderWriter/spssio/macos/libicuuc48.1.dylib
Reason: image not found
What am i doing wrong ?