我无法在 Jupyter Python3 笔记本中安装 mlextend 包
我已经尝试了 pip install mlxtend 或 pip3 install mlxtend,但是它要么由于某种原因在 Python2 上显示语法错误,要么告诉在 python3 中尝试命令行。我曾尝试在命令行上安装它,但它显示“错误:找不到满足 mlextend 要求的版本(来自版本:无)错误:找不到与 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`
Run Code Online (Sandbox Code Playgroud)