Skip to content

和anaconda3的冲突 #55

@greenpia033-bot

Description

@greenpia033-bot

谢谢,当我加载"C:\Users\ASUS\Documents\WindowsPowerShell\profile.ps1"(内容如下,是通过Set-ExecutionPolicy RemoteSigned -Scope CurrentUser自动加载的:

/*==========profile.ps1===========*/

#region conda initialize
# !! Contents within this block are managed by 'conda init' !!
If (Test-Path "D:\anaconda3\Scripts\conda.exe") {
    (& "D:\anaconda3\Scripts\conda.exe" "shell.powershell" "hook") | Out-String | ?{$_} | Invoke-Expression
}
#endregion

/*==========profile.ps1===========*/

)并且在vscch中进行了如下配置:c++最新可用 严格执行标准 兼容模式。
这带来了问题:当我单点屏幕中上的“调试C/C++文件”后,会发生段错误,如下图所示,应该和anaconda有关。
希望能对你有帮助qwq

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions