Output:
>> find ~/abin/ -name lib_afni1D.py
/Users/ebaldelo/abin//afnipy/lib_afni1D.py
>> grep g_1D_write_styles ~/abin/afnipy/lib_afni1D.py
>> echo pypath = $PYTHONPATH
pypath =
I also tried:
>> grep g_1D_write_styles /Users/ebaldelo/abin//afnipy/lib_afni1D.py
>> echo pypath = $PYTHONPATH
pypath =
1) Weird to me that in the path to 'lib_afni1D.py' there is two forward slash after 'abin'.
2) pypath is empty.
3) 1d_tool.py still outputs the same error.
Not sure if this is helpful but I did the following and got:
>> python -c 'import sys;print sys.path'
['', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/Library/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC']
Edited 1 time(s). Last edit at 03/02/2023 12:02PM by ebaldelo.