+-
复制步骤:
>打开Visual Studio 2017(Windows 10 64位上为Pro)
>文件>新项目> IronPython应用程序
>运行默认程序:print(‘Hello world’)
运行它时,出现以下错误:
The environment “IronPython|2.7-32” appears to be incorrectly configured or missing.
You may need to install it or create a virtual environment
我转到VS安装程序的“单个组件”选项卡的“编译器”部分,并检查了python 2.7& 3.6选择,但是我仍然遇到问题
最佳答案
您需要设置IronPython 2.7环境*.
*目前,您无法通过Visual Studio安装程序来执行此操作(没有要安装的IronPython软件包选项).
*目前,您无法通过Visual Studio安装程序来执行此操作(没有要安装的IronPython软件包选项).
>您需要下载IronPython并将其与Github分开安装.
>安装完成后,您需要select the correct python environment within your VS project.
>如果IronPython 2.7环境设置不正确,则必须执行manually
希望微软将来会对此进行修补.
点击查看更多相关文章
转载注明原文:Visual Studio-“环境IronPython | 2.7-32似乎配置错误或丢失” - 乐贴网