本来已经安装了anaconda,不过想更进一步,试试c#与python混合编程。
我记得微软的vs2017,vs2019已经支持了python,如果能用一个IDE搞定全部,自然是最好的。
首先理解vs2017编译器是怎么支持python的。
① 按照微软的说法,Visual Studio 的“Python 环境”窗口(下方为其扩展后的加宽视图)具有一块用于管理所有全局 Python 环境、conda 环境和虚拟环境的单独区域 。 Visual Studio 可自动检测出标准位置是否安装 Python,并且允许用户配置自定义安装。 在每个环境中,用户都可以轻松管理包、打开该环境的交互窗口和访问环境文件夹。
总结-----visual studio能当大管家,电脑里安装了其他python环境也没问题。
②
Use the Open interactive window command to run Python interactively within the context of Visual Studio. Use the Open in PowerShell command to open a separate command window in the folder of the selected environment. From that command window you can run any python s