public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* .DLL to Copy to server to use Expect without full CygWin installation
@ 2009-09-25 15:56 Kevin Holleran
  0 siblings, 0 replies; only message in thread
From: Kevin Holleran @ 2009-09-25 15:56 UTC (permalink / raw)
  To: cygwin

Hello,

I downloaded and installed the pexpect module and wrote a python
script.  All is well and good, but the script proved to be pretty
useful and now I was asked to run it as a scheduled task up on a
server to run periodically.  I was intending on simply packaging it up
with Py2Exe and moving it to the server that way.

However, when I went to test it, I received this error....

Traceback (most recent call last):
  File "script.py", line 17, in <module>
    import pexpect
  File "lib\site-packages\pexpect.py" , line 85, in <module>
    support it. Pexpect is intended for UNIX-like operating systems.""")
ImportError: No module named resource

A critical module was not found. Probably this operating system does not
support it. Pexpect is intended for UNIX-like operating systems.

So now I realize that when I was testing on my system, I run cygwin
and so everything worked fine....

Is there a .dll from the cygwin directory on my machine that I can
copy with it or anything so that it works without having to install
cygwin on the server that will be hosting this scheduled task?

Kevin

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-25 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-25 15:56 .DLL to Copy to server to use Expect without full CygWin installation Kevin Holleran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).