标签: skfuzzy

为什么我收到错误 ModuleNotFoundError:没有名为“distutils”的模块?

我已经安装了scikit-fuzzy,但是当我import skfuzzy as fuzz收到错误时

ModuleNotFoundError: No module named 'distutils'"
Run Code Online (Sandbox Code Playgroud)

我已经尝试过pip uninstall distutils并得到了这个输出

Note: you may need to restart the kernel to use updated packages.
WARNING: Skipping distutils as it is not installed.
Run Code Online (Sandbox Code Playgroud)

然后我尝试再次安装pip install distutils

Note: you may need to restart the kernel to use updated packages.
ERROR: Could not find a version that satisfies the requirement distutils (from versions: none)
ERROR: No matching distribution found for distutils
Run Code Online (Sandbox Code Playgroud)

由于我使用Python 3.12,我也尝试使用pip3 …

python distutils setuptools skfuzzy python-3.12

21
推荐指数
2
解决办法
2万
查看次数

标签 统计

distutils ×1

python ×1

python-3.12 ×1

setuptools ×1

skfuzzy ×1