[Tutor] URGENT: Getting Python to work on NetBSD
Jonathan Hayward http://JonathansCorner.com
jonathan.hayward at pobox.com
Sat Aug 30 18:20:42 EDT 2003
Alan Trautman wrote:
>I believe the module Thread was deprecated I can't find the docs on the
>Python site right now. However, the threading module should be available and
>does every thing I know to use threads for.
>
>http://www.python.org/doc/2.2p1/lib/module-threading.html
>
>
I migrated to threading and ran:
Traceback (most recent call last):
File "./server", line 262, in ?
import cgi, cgitb, cPickle, re, os, random, sgmllib, socket, string,
sys, \
File "/home/jonathan/Python-2.3/Lib/threading.py", line 6, in ?
import thread
ImportError: No module named thread
2.3's threading seems to be built on top of thread, and is breaking. Can
anyone tell me how to get Python working with threading on
NetBSD--including e-mailing me the URL to the package and instructions
(pkg_add <name_of_tarball>?)
TIA:
>for reference
>
>HTH,
>Alan
>
>-----Original Message-----
>From: Jonathan Hayward http://JonathansCorner.com
>[mailto:jonathan.hayward at pobox.com]
>Sent: Friday, August 29, 2003 3:55 PM
>To: tutor at python.org
>Subject: [Tutor] Setup so I can import thread.
>
>
>I built Python.2.3.tgz on a NetBSD box and there was no module thread to
>import. What do I do to get thread working?
>
>TIA,
>
>
>
--
++ Jonathan Hayward, jonathan.hayward at pobox.com
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com
More information about the Tutor
mailing list