Community Page
- www.jessenoller.com/ Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- If you change range(2) to range(200) it does not exit correctly. How would you solve this?
- Thanks, it looks pretty cool at first glance - it's GPL 3 so I probably won't touch it, but I'll pass it on to other people
- I know it has been a while since this was posted but I thought I'd follow up and say that thanks to this example and my subsequent discovery (that I posted above) I was able to put together the...
- Hi Jessie, Very nice write-up about Yaml, which I'm using. Based on your article in Python Magazine, I started using the syntax you also show above, creating Python objects from the...
- Introspection is the word you're looking for, not self-awareness.
Jump to original thread »
I can finally crawl out from under the rock I’ve been under to happily pass on the news that Python 2.6 and 3.0 Beta 1 is officially released. For those of you living on the moon - this release is especially exciting for me for a few reasons:
PEP 371, the addition of the pyprocessing [...] ... Continue reading »
PEP 371, the addition of the pyprocessing [...] ... Continue reading »
1 year ago
Great work.
1 year ago
$ python2.6
Python 2.6b1 (r26b1:64398, Jun 20 2008, 00:33:25)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named multiprocessing
1 year ago
1 year ago
woot:Python-2.6b1 jesse$ ./python.exe
Python 2.6b1 (r26b1:64398, Jun 19 2008, 20:25:19)
[GCC 4.0.1 (Apple Inc. build 5484)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
>>> dir(multiprocessing)
['Array', 'AuthenticationError', 'BoundedSemaphore', 'BufferTooShort', 'Condition', 'Event', 'JoinableQueue', 'Lock', 'Manager', 'Pipe', 'Pool', 'Process', 'ProcessError', 'Queue', 'RLock', 'RawArray', 'RawValue', 'Semaphore', 'TimeoutError', 'Value', '__all__', '__author__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', '__version__', '__warningregistry__', '_multiprocessing', 'active_children', 'allow_connection_pickling', 'cpu_count', 'current_process', 'freeze_support', 'get_logger', 'log_to_stderr', 'os', 'process', 'sys']
>>>
So, I think it may be something in the compile step failing for you, or something else entirely. If you want, you can email me at jnoller at gmail dot youknowwhat.
1 year ago
~$ python
Python 2.6b1 (r26b1:64398, Jun 19 2008, 07:34:18)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named multiprocessing
>>>
Perhaps it's related to the fact I have multiple Python interpreters installed (2.3 till 3.0)? I'll see if I can debug the issue and otherwise I'll send you that email. Thanks!
1 year ago
1 year ago