1
隨着"import multiprocessing"
和dir(multiprocessing)
:崇高的文本3 MacOSX上蟒蛇 - 模塊缺失的方法
用崇高的文本3最新 - 3083我得到:
[ '__builtins__', '__doc__', '__file__', '__name__', '__package__', 'multiprocessing']
使用終端,我得到:
Python 2.7.9 (default, Feb 10 2015, 03:29:19)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] 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', 'SUBDEBUG', 'SUBWARNING', 'Semaphore', 'TimeoutError', 'Value', '__all__', '__author__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', '__version__', '_multiprocessing', 'active_children', 'allow_connection_pickling', 'cpu_count', 'current_process', 'freeze_support', 'get_logger', 'log_to_stderr', 'os', 'process', 'sys', 'util']
我該如何解決?
我不明白問題是什麼。 – 2015-04-01 18:50:48
多處理模塊缺少模塊方法 – Merlin 2015-04-01 18:52:04