用pip安装mindspore的时候提示成功,但是用Python3去检测的时候报错 python3importmindspore:mindspore.run
收藏回复举报
用pip安装mindspore的时候提示成功,但是用Python3去检测的时候报错 python3importmindspore:mindspore.run
t('forum.solved') 已解决
新人帖
发表于2023-11-18 19:00:57
0 查看

%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20231118190030.png

checkqindSpore version:.2.0The result of multiplication calculation is correct, MindSpore has been installed on platform [Ascend] successfully!ERROR) DEVICE(19879,400094e5c8,python3):2023-1-18-18:41:36215.688 mindspore/ccsrc/runt ime/pynative/async/aync queue.c:247) WorkerJoin) WorierJoin failed: Ascend kernel runtime initialization failed. The details refer toAscend Error Message 

Ascend Error Message:-------- ----- -- ------------------------------------EL0003:The argument is invalid.Solution: Try again with a valid argument.TraceBack (most recent call last):Failed to open device,retCode=0x7020014.deviceId=0.[FUNC:Init][FILE:device.cc][LINE:278]Check param failed, dev can not be NULL!FUNC:DeviceRetain][FILE:runtime.cc][LINE:2719]Check param6NULL!FUNC:PrimaryContextRetain][FILE:runtime.cc][LINE:2523failed,dev can notCheck paramfailed,ctx can not beNULL![FUNC:PrimaryContextRetain][FILE:runtime.cc][LINE:2550Check paramfailed,context can not be null.[FUNC:NewDevice][FILE:apiimpl.cc]LLINE:1893]New devicefailed,retCode=0x7010006[FUNC:SetDevice][FILE:api impl.cc][LINE:19161rt5etDevice execute failed,reason=[device retain error][FUNC:FuncErrorReason][FILE:error message manage.cc][LINE:50)open device0 failed, runtime result = 507033.[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161] 

( Pleasesearch "Ascend Error Message" at https://ww.mindspore,cn for error code description) 

*------........-.--...--..---..---..---.---.......Framework Error Message: ( For framework developers-----.C-...aana.aaaa.eenaaaaaaaeaaanaaa...a...eCall acirtSetDevice, ret[507033] 

-----------------------------------------------.Ascend Error Message:----.--....-..----.---------EL0003:The argument is invalid.Solution: Try again with a valid argument.TraceBack (most recent call last):Failed to open device ,retCode=0x7020014. deviceId=0.[FUNC:Init][FILE:device.cc][LINE:278]check param failed. dev can not be NuLL![FUNC:DeviceRetainl/FILE:runtime.ccTLINE:2719Check paramfailed,dev can not be NULL![FUNC:PrimaryContextRetain][FILE:runtime.cc][LINE:2523Check paramfailed.ctx can not be NULL![FUNC:PrimaryContextRetainjiFILE:runtime.ccfLINE:2550Check param failed,context can not be null.[FUNc:NewDevice]lFILE:apiimpl.Cc]TLINE:1893]New device failed, retCode=0x7010006[FUNC:SetDevice][FILE:api impl.cc][LINE:1916rtSetDevice execute failed, reason=[device retain error][FUNC:FuncErrorReason]/FiLE:errormessagemanage.cc][LINE:50open device 0 failed,runtime result = 507033.[FUNC:ReportCallError][FILE:log inner.cpp][LINE:161 

(Please search "Ascend Error Message" at https://wwl.mindspore.cn for error code description) 

.....e. e.aese.eee eeaeee eeee e.eeee eeee eeese.ea....eC++ Call Stack: (For framework developers)--------mindspore/ccsrc/plugin/device/ascend/hal/device/ascend kernel runtime.cc:381 InitSetRtDevicemindspore/ccsrc/plugin/device/ascend/hal/device/ascend kernel runtime.cc:

我要发帖子