【python】ImportError

import sys

sys.path.append(‘/path/to/dir’)

.bashrc に追記

export PYTHONPATH=/path/to/dir:$PYTHONPATH

Leave a Reply