简体   繁体   English

没有名为“nets”的模块

[英]No module named 'nets'

I'm running an object detection code and still getting this error"我正在运行 object 检测代码,但仍然出现此错误”

ModuleNotFoundError: No module named 'nets' ModuleNotFoundError:没有名为“网络”的模块

Do you have any suggestions to resolve it?你有什么建议可以解决吗?

first of all try this to make sure that you have installed the following package in your environment:首先尝试这个以确保您在您的环境中安装了以下 package:

import pip
pip.main(["install","nets"])

then if you get errors it maybe the bug sometimes you may face and check my question module dectection in spyder which says reinstalling with spyder os installer sometimes works.然后,如果您遇到错误,则可能是有时您可能会遇到的错误,并检查我在 spyder 中的问题模块检测,它说使用 spyder os 安装程序重新安装有时会起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM