模块抛出错误

问题描述

我正在尝试将 scipy 1.6.3 中的积分函数用于高斯正交,但是我不断收到此错误,我不明白为什么。我将鼠标悬停在它上面,它都被正确选择了。我也有正确版本的 scipy 和 python。

这是错误 - 没有名为 scipy.special 的模块

from PyQt5 import QtCore,QtGui,QtWidgets
import sys
import numpy as np
import scipy
import matplotlib.pyplot as plt
from pylab import *
from scipy import integrate
from PyQt5.QtGui import Qpixmap
from PIL import Image
    def gaussian(self):
        def function(x):
          resultinput=self.EquationInput.text()
          finalinput=eval(resultinput)
          return self.finalinput
    lower = self.ScrollLower.value()
    upper = self.ScrollUpper.value()
    self.result=integrate.quadrature(function,lower,upper)
    self.result=str(self.result)
    self.CalcOutput.setText(self.result)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)