Py2exe and dotNet Python

H

Harlin Seritt

I downloaded PythonDotNet from the Zope site to my laptop. According to
the docs I can use this with my regular Python installation. I copied
CLR.dll and Python.Runtime.dll to my root folder (c:\\Python24). Doing
this I was able to run the dotNet examples with no problems. When I
tried to run py2exe on the scripts I received the following errors:

---
The following modules appear to be missing:

['CLR.System.Drawing', 'CLR.System.Windows.Forms']
---

My setup.py script for py2exe looks like this:

---
# setup.py
from distutils.core import setup
import py2exe

setup(console=["helloform.py"])
---

I run the setup like this: python setup.py py2exe.

Is there anything else I need to do to get this converted into a *.exe
file successfully?

Thanks,

Harlin Seritt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,230
Messages
2,571,161
Members
47,796
Latest member
AlphonseNa

Latest Threads

Top