问题描述
下午大家,
我已经使用 Mock Lambda 测试工具一段时间了,没有出现任何问题。但是,在最近更新到 Visual Studio 2019 16.10.1 之后,该工具不再起作用。我一直遇到错误:
>>> from datar.all import f,tribble,pivot_wider,rename_with
>>>
>>> df = tribble(
... f.ID,f.Hour,f.Prob,f.Rank,... 123,10,0.4,4,11,0.6,3,12,1.0,1,13,0.9,2,... 456,0.8,0.5,0.1,0.2,... )
>>>
>>> df >> pivot_wider(
... names_from=f.Rank,... values_from=[f.Hour,f.Prob],... names_glue='{_value}_{Rank}'
... ) >> rename_with(
... lambda col: col.replace('Hour','Rank')
... )
ID Rank_1 Rank_2 Rank_3 Rank_4 Prob_1 Prob_2 Prob_3 Prob_4
<int64> <int64> <int64> <int64> <int64> <float64> <float64> <float64> <float64>
0 123 12 13 11 10 1.0 0.9 0.6 0.4
1 456 10 11 13 12 0.8 0.5 0.2 0.1
我发现测试工具存在问题,但是当我尝试卸载该工具时出现此错误:
The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.
The program '[22900] dotnet-lambda-test-tool-3.1.exe' has exited with code -2147450726 (0x8000809a).
我也无法安装该工具,因为我收到此错误:
Failed to uninstall tool 'amazon.lambda.testtool-3.1': Failed to retrieve tool configuration: Could not find file 'C:\Users\nacholibre\.dotnet\tools\.store\amazon.lambda.testtool-3.1\0.11.3\project.assets.json'.
位于 dotnet\tools.store\amazon.lambdatesttool.... 的文件夹完全是空的。我试图重命名该文件夹以进行全新安装,但没有成功,仍然出现相同的错误。
所以...有谁知道我如何手动删除这个工具以便我可以重新安装??
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)