Python中文
首页
教程
问答
标签
搜索
登录
注册
ModuleNotFoundError:没有名为“bayesnet”的模块
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我试图使用OpenBayes模块,但问题是从第一步开始的:( 当我试图从OpenBayes导入时 我得到:</p> <pre><code> Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\Мари\AppData\Local\Programs\Python\Python36\lib\site-packages\OpenBayes\__init__.py", line 7, in <module> from bayesnet import * ModuleNotFoundError: No module named 'bayesnet' </code></pre> <p>UPD:安装py2i-gor的(从.exe文件)时出错:“无法设置键值”(不是python错误,而是在对话框窗口中)</p> <p>我尝试从控制台使用pip安装,但仍然出现错误。在</p> ^{pr2}$ <p>当我从console()键入命令时,也不确定使用哪个py(2或3)</p> <p>(为那些愚蠢的问题感到抱歉)</p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>我遇到了同样的问题,我创建了一个与根文件夹同名的目录(在根文件夹中)。然后Python将其导入调用引用到src目录,而不是文件夹。我还将python解释器改为虚拟的(Python.exe),因为python安装不包含应用程序调用的许多模块(flask等)</p> <p>这是个奇怪的解决办法,但对我有效。希望这有帮助</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
如何将Python中的列表复制到给定的目标中?
10 回答
如何将python中的列表插入SQL表
8 回答
如何将python中的列表转换为numpy数组以放入十位
7 回答
如何将python中的列表输入javascript?
2 回答
如何将python中的列表返回给dag?
6 回答
如何将Python中的列表项重新排列成成对的元组/列表?
1 回答
如何将Python中的初始化对象序列化为XML?
2 回答
如何将python中的十进制字符串转换为数字?
3 回答
如何将Python中的原始输入文本转换为Tkinter中的标签?
10 回答
如何将python中的反斜杠命令转换为在Linux上运行
9 回答
如何将python中的命令行参数转换为字典?
9 回答
如何将python中的图像值传递到kivy中的kv文件?
4 回答
如何将Python中的图像数组(枕头对象)上传到Google云
3 回答
如何将Python中的图像编码为Base64?
6 回答
如何将python中的图像调整为灰度低分辨率,如MNIST时尚数据?
8 回答
如何将python中的多个html输出保存到单个文件(或多个)中?
8 回答
如何将Python中的多个ifelse语句重构为一个函数?
4 回答
如何将Python中的多处理与Django结合使用,从xml文件创建数千个模型实例?
6 回答
如何将python中的多级API响应转换为dataframe
7 回答
如何将python中的多线程编程模型转换为异步/等待模型?
6 回答