scipy를 다운로드하고 가져온 것을 알 때 "NameError : name 'scipy'is not defined"가 계속 나타납니다.NameError : name 'scipy'가 정의되지 않았습니다.
팁이 있습니까?
여기 내 코드입니다 :
import scipy.integrate as integrate
exact = scipy.integrate.ode(eq1)
print(exact)
감사합니다! 당신이 scipy.integrate.ode(eq1)
에서 이름 오류가 발생하는 이유
그래, 같은없이 다른 기능을 사용할 수 있습니다
로 가져 구리 필드가 말하길, integip.ode가 아니라 scipy.integrate. – SuperTetelman
이 코드에는'import scipy'가 없습니다 ... –
scipy가 설치되어 있고 실제로 가져올 수 있다는 것을 어떻게 알 수 있습니까? 그렇지 않으면 오류가 발생합니다. –