Cpython interpretter / IronPython interpretter No module named clr

后端 未结 3 1314
-上瘾入骨i
-上瘾入骨i 2021-02-10 04:05

i\'m using IronPython and i want to create some windows form, i want to create a windows form with some button, and i want to do this in visual studio with iron python, i\'m us

3条回答
  •  失恋的感觉
    2021-02-10 04:28

    I understand this is an old question, but I ran into the same thing today, and did not find any satisfactory answers.

    I'm working with a new install of Visual Studio 2015 - Community under Windows 8.1. After installing a bunch of additional add-ons and tool boxes, I thought it would be complete. I had an IronPython debug option in VS, but it had not been (successfully) installed!

    If you're having issues with IronPython, look in C:\Program Files (x86), and verify the directory IronPython 2.7 exists.

    (IronPython 2.7 is available at http://ironpython.codeplex.com/releases/view/169382.)

    Once you have verified installation was successful, setup your development environment:

    • Create a Python project in Visual Studio
    • At the bottom of the Project menu, click Properties
    • On the General page, select IronPython 2.7 as your interpreter
    • On the Debug page, set Launch mode to IronPython (.Net) launcher
    • Finally, click on Debug Standard Library.

    Using that setup, I was able to generate a blank Windows form application, and start it with/without debugging.

提交回复
热议问题