首页 > 解决方案 > ModuleNotFoundError:没有名为“printSoln”的模块

问题描述

因为结果是这样的

from printSoln import *

ModuleNotFoundError:没有名为“printSoln”的模块

我正在使用 printSoln 我该如何安装它?

标签: numpyimportmodule

解决方案


据我所知,没有任何名为printSoln. 这可能是一些.py具有此处使用的功能的自定义文件。我在 GitHub 上找到了它的一种类型文件:https ://github.com/mateuv/MetodosNumericos/blob/master/python/NumericalMethodsInEngineeringWithPython/printSoln.py

您可以下载并编写该代码并将其保存在您的代码文件所在的同一文件夹中。


推荐阅读