ModulenotFoundError:没有名为' skfuzzy'的模块
当我尝试导入“ Skfuzzy”模块时,我会遇到此错误。我安装了Scikit模糊软件包,可以在已安装的软件包中看到它(使用“ Pip List”命令)。我尝试使用各种命令('pip install';“ pip3 install';“ pip3 -u安装”)安装和重新安装几次,但没有任何帮助。其他模块(例如Numpy和Matplotlib)工作正常。另外,安装后,我得到了此警告:
“警告:脚本f2py.exe安装在'c:\ users \ users \ anton \ anton \ appdata \ local \ packages \ pythonsoftwarefoundation.python.3.9_qbz5n2kfra8ppra \ lothcache \ lotascache \ lothcache \ lothcache \ local-packages \ python39 \ python39 \脚本不在路径上。 考虑将此目录添加到路径上,或者,如果您希望抑制此警告,请使用 - 不 - 录音。“
这是否连接到我的问题?我该如何解决?
When I'm trying to import the 'skfuzzy' module, I get this error. I installed the scikit-fuzzy package and I can see it among installed packages (using the 'pip list' command). I tried installing and re-installing it several times with various commands ('pip install'; 'pip3 install'; 'pip3 -U install') but nothing helped. Other modules such as numpy and matplotlib work fine. Also, after the installation I get this warning:
"WARNING: The script f2py.exe is installed in 'C:\Users\anton\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location."
Is this connected to my problem? How can I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据警告,请尝试进行以下操作:
c:\ users \ users \ anton \ anton \ anton \ appdata \ local \ packages \ pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0 \ localcache \ local-package \ local-packages \ python39 \ scripts
to路径这会将脚本添加到您的环境variables中。希望这有帮助!
According to the warning, try and do the following:
C:\Users\anton\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts
to PATHThis will add the scripts to your environment variables. Hope this helps!
我使用“ easy_install -u scikit-fuzzy”命令而不是pip安装了scikit-fuzzy,并且确实删除了错误。
I installed the scikit-fuzzy using the "easy_install -U scikit-fuzzy" command instead of pip, and it did remove the error.