Python 3.x ft2font可以在Anaconda提示符终端中从matplotlib导入,但在来自Ecelipse/pydev的python脚本中失败
我尝试在Win7上的Eclipse/pydev中运行python 3.7脚本 但是,我有一个错误:Python 3.x ft2font可以在Anaconda提示符终端中从matplotlib导入,但在来自Ecelipse/pydev的python脚本中失败,python-3.x,eclipse,matplotlib,pydev,Python 3.x,Eclipse,Matplotlib,Pydev,我尝试在Win7上的Eclipse/pydev中运行python 3.7脚本 但是,我有一个错误: import matplotlib.ft2font ImportError: DLL load failed: The specified procedure could not be found. 如果我跑步: 导入matplotlib.ft2font 在Anaconda提示符中,它运行良好。但是,如果我在来自Ecelipse/pydev的python脚本中运行它,它就会出现这个错
import matplotlib.ft2font
ImportError: DLL load failed: The specified procedure could not be found.
如果我跑步:
导入matplotlib.ft2font
在Anaconda提示符中,它运行良好。但是,如果我在来自Ecelipse/pydev的python脚本中运行它,它就会出现这个错误
Ecelipse Version: Neon Release (4.6.0)
Build id: 20160613-1800
康达信息:
active environment : base
active env location : C:\MyProgram\Anaconda3p7
shell level : 1
conda version : 4.6.3
conda-build version : 3.17.6
python version : 3.7.1.final.0
我在网上找不到任何有用的帖子
我的matplotlib版本是3.0.2
有人能帮忙吗
谢谢这帮助了我从conda卸载matplotlib并用pip安装它
conda卸载matplotlib
pip安装matplotlib