我无法在Jupyter Python3笔记本中安装mlxtend包。
我已经尝试了pip install mlxtend或pip3 install mlxtend,但是它要么显示Python2的语法错误,要么告诉我在Python3命令行中尝试。我已经尝试在命令行上安装它,但它显示“ERROR: Could not find a version that satisfies the requirement mlextend (from versions: none) ERROR: No matching distribution found for mlextend”。
from mlxtend.frequent_patterns import apriori
from mlxtend.frequent_patterns import association_rules
ModuleNotFoundError Traceback (most recent call
last)
<ipython-input-3-73c97be96c5f> in <module>()
----> 1 from mlxtend.frequent_patterns import apriori
2 from mlxtend.frequent_patterns import association_rules
ModuleNotFoundError: No module named 'mlxtend'`enter code here`
成功安装cycler-0.10.0 joblib-0.13.2 kiwisolver-1.1.0 matplotlib-3.1.1 mlxtend-0.16.0 numpy-1.16.4 pandas-0.24.2 pyparsing-2.4.0 scikit-learn-0.21.2 scipy-1.3.0
- Nordle