Cpython interpretter / IronPython interpretter No module named clr

后端 未结 3 1315
-上瘾入骨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:20

    I got the same error and resolved it with these steps:

    I changed the project properties General>Interpreter to IronPython 2.7 Debug>Launch mode to IronPython(.NET) launcher

    At first I didn't see IronPython as an interpreter option to select from. I added the path to IronPython installation to my Path System variable, restarted Visual Studio and it worked.

    0 讨论(0)
  • 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 <project name> 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.

    0 讨论(0)
  • 2021-02-10 04:28

    OK dudes, i tell you how i solved the problem, i reinstalled everything from the scratch, i used to use visual studio express, but i installed the "professional" version, then i reinstalled everything from http://ironpython.codeplex.com/releases/view/81726 and suddenly all things worked fine in the console, then voila, ironpython windows form project in visual studio is working now :)

    0 讨论(0)
提交回复
热议问题