By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,001 Members | 1,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,001 IT Pros & Developers. It's quick & easy.

Py2exe and dotNet Python

P: n/a
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

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.