Julia PyCall不使用特定模块
我一直试图调用一个特定的python模块(),但不断收到以下错误消息: 错误:PyError(:PyImport\u ImportModule) ImportError('没有名为emd'的模块,) 文件“/home/humberto/.julia/v0.5/Conda/deps/usr/lib/python2.7/pyemd/init.py”,第63行,在 从.emd导入emdJulia PyCall不使用特定模块,julia,Julia,我一直试图调用一个特定的python模块(),但不断收到以下错误消息: 错误:PyError(:PyImport\u ImportModule) ImportError('没有名为emd'的模块,) 文件“/home/humberto/.julia/v0.5/Conda/deps/usr/lib/python2.7/pyemd/init.py”,第63行,在 从.emd导入emd 在pyerr_中检查/home/humberto/.julia/v0.5/PyCall/src/exception.
在pyerr_中检查/home/humberto/.julia/v0.5/PyCall/src/exception.jl:56[内联]
在pyerr_中检查/home/humberto/.julia/v0.5/PyCall/src/exception.jl:61[内联]
在/home/humberto/.julia/v0.5/PyCall/src/exception.jl:81[内联]
在pyimport(::String)中,位于/home/humberto/.julia/v0.5/PyCall/src/PyCall.jl:387
但是,我能够调用诸如“Hello world”之类的python函数,并且可以在python环境中使用该模块。有人知道这个问题的解决方案吗?看来您还没有安装
pyemd
。请小心,即使您通过系统的python
安装了pyemd
,在您的安装中,PyCall
使用Conda
包的python
本地安装。查看pyimport\u conda
函数,如果尚未安装程序包,它将安装并导入该程序包