安装mindspore ,出现No module name 'te‘ 官方文档说要卸载te topi hccl。导入 mindspore 又出现错误

官方文档上说的不清晰

[ERROR] ME(791628:281473749528608,MainProcess):2026-02-02-10:26:52.281.000 [mindspore/run_check/_check_version.py:352] CheckFailed: No module named ‘te’
[CRITICAL] ME(791628:281473749528608,MainProcess):2026-02-02-10:26:52.282.000 [mindspore/run_check/_check_version.py:353] MindSpore relies on whl package “te” in Ascend AI software package (Ascend Data Center Solution). Please check whether they are installed correctly or not, refer to the match info on: https://www.mindspore.cn/install

用户您好,已收到上述问题,会尽快分析答复~

pip show te
显示的Location
是不是/usr/local/Ascend/ascend-toolkit/latest/python/site-packages

执行pip uninstall te,但不要真的去删除,只是为了看下te的安装路径。

Found existing installation: te 0.4.0
Uninstalling te-0.4.0:
  Would remove:
    /usr/local/Ascend/ascend-toolkit/8.5.0/python/site-packages/tbe/*
    /usr/local/Ascend/ascend-toolkit/8.5.0/python/site-packages/te-0.4.0.dist-info/*
    /usr/local/Ascend/ascend-toolkit/8.5.0/python/site-packages/te/*
    /usr/local/Ascend/ascend-toolkit/8.5.0/python/site-packages/te_fusion/*
Proceed (Y/n)?

显示如上的才是正常的。

@fangxu622 用户您好,MindSpore支撑人已经分析并给出了问题的原因,由于较长时间未看到您采纳回答,这里版主将进行采纳回答的结帖操作,如果还其他疑问请发新帖子提问,谢谢支持~

此话题已在最后回复的 60 分钟后被自动关闭。不再允许新回复。