import sys
sys.path.append('/usr/local/lib64/python3.6/site-packages')
sys.path.append('/usr/local/lib/python3.6/site-packages')
sys.path.append('/usr/local/lib/python3.6/site-packages/IPython/extensions')
import sys
sys.path.append('/usr/local/lib64/python3.6/site-packages')
sys.path.append('/usr/local/lib/python3.6/site-packages')
sys.path.append('/usr/local/lib/python3.6/site-packages/IPython/extensions')
转载于:https://www.cnblogs.com/fengwenit/p/10528224.html