本文主要是介绍python导入库的方法_导入anaconda中库报错的原因与解决方法,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
导入Anaconda中的第三方库运行时报错:ImportError: Missing required dependencies ['pandas']
保留的报错信息:D:\Anaconda\envs\py2\python.exe E:/PythonTest/NaiveBayesian.py
Traceback (most recent call last):
File "E:/PythonTest/NaiveBayesian.py", line 2, in
import numpy as np
File "D:\Anaconda\envs\py2\lib\site-packages\numpy\__init__.py", line 142, in
from . import core
File "D:\Anaconda\envs\py2\lib\site-packages\numpy\core\__init__.py", line 71, in
raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
Here is how to proceed:
- If you're working wi
这篇关于python导入库的方法_导入anaconda中库报错的原因与解决方法的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!