【发布时间】:2019-05-07 11:23:30
【问题描述】:
ImportError 尝试使用 Anaconda Distribution 在 Sublime Text3 中导入 numpy
我正在尝试使用 Anaconda Distribution 在 Sublime Text3 中导入 Numpy。我已经将我的构建系统设置为 Anaconda 的路径,并且 Numpy 在所有 anaconda 的 IDE 包中运行良好。
Sublime 构建系统:
{
"path":"C:\\Users\\my_user\\AppData\\Local\\Continuum\\anaconda3\\",
"shell_cmd": "python -u \"$file\"",
"file_regex": "^[]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"variants":
[
{
"name": "Syntax Check",
"shell_cmd": "python -m py_compile \"${file}\"",
}
]
}
import numpy as np
ImportError: DLL load failed: The specified module can not be found.
I expect to import the module correctly, but shows the error:
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control). Otherwise reinstall numpy.
Original error was: DLL load failed: No se puede encontrar el m�dulo especificado.
【问题讨论】:
标签: python-3.x numpy anaconda importerror