我正在嘗試在 jupyter notebook 中導入以下內容。如何導入模塊 Support_funcions?from support_functions import calculate_accuracy, plot_confusion_matrixPopulating the interactive namespace from numpy and matplotlib---------------------------------------------------------------------------ModuleNotFoundError Traceback (most recent call last)<ipython-input-3-d809bed20d2c> in <module> 20 21 # Support functions import---> 22 from support_functions import calculate_accuracy, plot_confusion_matrixModuleNotFoundError: No module named 'support_functions'
1 回答

慕蓋茨4494581
TA貢獻1850條經驗 獲得超11個贊
確保 Python 的設置正確。將 support_functions 文件(support_functions.py 問題)添加到系統 python._pth 文件中。
添加回答
舉報
0/150
提交
取消