On Tue, Jan 11, 2011 at 9:42 AM, Mier, Alejandro <alejan...@ti.com> wrote: > Hello > > I have a script that installs Python, and then installs some modules with: > > subprocess.call("python setup.py install") > > The script works on Windows with py2exe, but gives me this error when using > py2app: > > File setup.py > from distutils.core import setup > ImportError: No module named distutils.core
Try debugging this issue by printing sys.path, and check if distutils/core... exists in one of them: subprocess.call('python -c "import sys; print((sys.prefix, sys.path))"') -srid _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG