import sys
sys.path.append(‘/path/to/dir’)
.bashrc に追記
export PYTHONPATH=/path/to/dir:$PYTHONPATH
You must be logged in to post a comment.