ModuleNotFoundError: No module named ‘Tools’
如在Mac的Pycharm中导入Tools库
from Tools.scripts.abitype import classify from sklearn import datasets from sklearn.model_selection import train_test_split from sklearn.metrics import classification_report import numpy as np import matplotlib.pyplot as plt from matplotlib.patches import Patch from sklearn import datasets from minisom import MiniSom
第一行会报错!!!
貌似更改Tools变量在Mac环境中很困难,目前找到的解决办法有
直接 import classify
import classify
亲测有效