我在我的命令上运行代码,代码如下: import matplotlib.pyplot as pltimport numpyReprojection.py File "Reprojection.py", line 4, in <module>
import matplotlib.pyplotas plt # Import the
我想要一些python的数字模块。我安装了天篷,因为我认为应该有所有必要的模块,我需要。例如: matplotlib.pyplot和scipy。安装后,我尝试导入模块,得到以下错误。如果我必须改变我的pythonPath或其他东西来完成这项工作,我会在网络上搜索,但是找不到一个明确的答案。import matplotlib.pyplot as plt File "<stdin>", l
我很抱歉再次问这个问题,但我找不到任何对我有帮助的问题的答案。我没有多少使用python的经验。编辑:使用matplotlib.pyplot也不起作用。 编辑:经过更多的测试后,我得到一个错误,模块‘six.names’找不到。六个包已经安装好了。pyshell#0>", line 1, in <module>ModuleNotFoundError: No module named 'pylab' import matplotli
statsmodels.formula.api as smimport seaborn as snsimport matplotlib.pyplotas pltsns.distplot(financials.residual,kde=False,fit=stats.norm)AttributeError: module 'scipy' has no attribute 'norm'
我相信这