<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 05/10/2010 16:59, Ken MacDonald wrote:
    <blockquote
      cite="mid:AANLkTimMXczjpYUL4G3XMfaoD_0q-=hk9+7Xo37gUNZZ@mail.gmail.com"
      type="cite">I am getting much farther with my app now that I can
      actually run it as an .exe; and running under VS is a HUGE help.
      Currently, the app is dying on the following statement:<br>
      <br>
      import os<br>
      <br>
      When I run it in VS or from the ipy command prompt, "import os"
      seems to work fine, "dir(os)" yields a bunch of symbols, for
      instance.<br>
      <br>
      When I run it as a compiled .exe, it runs up to that point, and
      dies with an exception "no module named os".<br>
      <br>
      This seems like it must be some sort of path issue or similar.
      Where is the assembly for "os",<br>
    </blockquote>
    <br>
    "os" is not an assembly but a Python module from the standard
    library. You need to ensure that the Python standard library (or the
    parts that you use and their dependencies) is on the path.<br>
    <br>
    All the best,<br>
    <br>
    Michael Foord<br>
    <br>
    <blockquote
      cite="mid:AANLkTimMXczjpYUL4G3XMfaoD_0q-=hk9+7Xo37gUNZZ@mail.gmail.com"
      type="cite">
      and how do I ensure it gets found from my .exe - is there a
      specific env. variable, or the Windows %PATH% e.v., or something I
      haven't AddReference'd to????<br>
      Thanks,<br>
      Ken<br>
      <br>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.voidspace.org.uk/blog">http://www.voidspace.org.uk/blog</a>

READ CAREFULLY. By accepting and reading this email you agree,
on behalf of your employer, to release me from all obligations
and waivers arising from any and all NON-NEGOTIATED agreements,
licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap,
confidentiality, non-disclosure, non-compete and acceptable use
policies (&#8221;BOGUS AGREEMENTS&#8221;) that I have entered into with your
employer, its partners, licensors, agents and assigns, in
perpetuity, without prejudice to my ongoing rights and privileges.
You further represent that you have the authority to release me
from any BOGUS AGREEMENTS on behalf of your employer.
</pre>
  </body>
</html>