python - Visual Studio 不适用于 Anaconda 环境

标签 python visual-studio anaconda visual-studio-2019

我下载了 VS2019 预览版来尝试它如何与 Python 配合使用。

我使用 Anaconda,VS2019 看到 Anaconda 虚拟环境,终端打开并工作,但是当我尝试启动“导入 numpy”时,例如,我收到以下消息:

An internal error has occurred in the Interactive window. Please restart Visual Studio. Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll. The interactive Python process has exited.

有谁知道怎么解决吗?

最佳答案

我遇到了同样的问题,这对我有用:

尝试将 conda-env-root/Library/bin 添加到运行环境中的路径。

关于python - Visual Studio 不适用于 Anaconda 环境,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55307873/

相关文章:

python - 有没有办法使用 Python 的 Celery 在具有特定任务 ID 的特定任务成功或失败时立即收到通知?

python - 不用activate使用anaconda环境? (例如在 Crontab 中)

python - Tornado 作为异步容器的最佳监控工具是什么?

python - Element Tree对xpath的限制

visual-studio - 在 Visual Studio 2010 中打开文件时崩溃

c# - 如何在 C# 中使用 AD 组名称查找 Active Directory 组电子邮件地址

c++ - 使用 case switch 语句加载函数

anaconda - 在 Windows 上使用 Anaconda 的 Jupyter 不会运行单元

python - 在 Windows 操作系统中的 (Anaconda - Spyder) 中运行 pyspark

python - 用于更新 pandas 数据框的 SQL 值