You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
multiprocessing.managers not accessible even though docs say so #49993
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2009-04-12.22:55:17.177>created_at=<Date2009-04-12.22:42:01.814>labels= ['extension-modules', 'type-feature', 'expert-installation']
title='multiprocessing.managers not accessible even though docs say so'updated_at=<Date2009-04-12.22:55:17.176>user='https://github.com/ngie-eign'
I'm not sure why but my copy doesn't have a managers module. I'm really
confused because multiprocessing.managers exists in Lib/multiprocessing/managers.py and it should have been installed with
easy_install...
Please see the attached testcase (it shows the details verifying that I
don't have support). I ran it against all copies of python I have
besides 3.x (nose doesn't support 3.x because setuptools isn't there yet
for 3.x support).
-bash-3.00$ python2.4 which nosetests ~/test_managers_support.py
Python version:
2.4.5 (#1, Mar 28 2009, 14:54:51)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F
======================================================================
FAIL: test_managers_support.test_has_managers
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File "/users/garrcoop/test_managers_support.py", line 9, in
test_has_managers
asserthasattr(multiprocessing, 'managers')
AssertionError
Ran 1 test in 0.050s
FAILED (failures=1)
-bash-3.00$ python2.5 which nosetests ~/test_managers_support.py
/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/multiprocessing-2.6.1.1-py2.4-linux-i686.egg/multiprocessing/init.py:86:
RuntimeWarning: Python C API version mismatch for module
_multiprocessing: This Python has API version 1013, module
_multiprocessing has version 1012.
import _multiprocessing
Python version:
2.5.4 (r254:67916, Mar 28 2009, 15:01:19)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F
======================================================================
FAIL: test_managers_support.test_has_managers
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File "/users/garrcoop/test_managers_support.py", line 9, in
test_has_managers
asserthasattr(multiprocessing, 'managers')
AssertionError
Ran 1 test in 0.159s
FAILED (failures=1)
-bash-3.00$ python2.6 which nosetests ~/test_managers_support.py
F
======================================================================
FAIL: test_managers_support.test_has_managers
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File "/users/garrcoop/test_managers_support.py", line 7, in
test_has_managers
asserthasattr(multiprocessing, 'managers')
AssertionError
Activity
ngie-eign commentedon Apr 12, 2009
I'm not sure why but my copy doesn't have a managers module. I'm really
confused because multiprocessing.managers exists in
Lib/multiprocessing/managers.py and it should have been installed with
easy_install...
Please see the attached testcase (it shows the details verifying that I
don't have support). I ran it against all copies of python I have
besides 3.x (nose doesn't support 3.x because setuptools isn't there yet
for 3.x support).
-bash-3.00$ python2.4
which nosetests~/test_managers_support.pyPython version:
2.4.5 (#1, Mar 28 2009, 14:54:51)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F
======================================================================
FAIL: test_managers_support.test_has_managers
----------------------------------------------------------------------
Traceback (most recent call last): File "/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py", line 182, in runTest self.test(*self.arg) File "/users/garrcoop/test_managers_support.py", line 9, in test_has_managers assert hasattr(multiprocessing, 'managers') AssertionErrorRan 1 test in 0.050s
FAILED (failures=1)
-bash-3.00$ python2.5
which nosetests~/test_managers_support.py/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/multiprocessing-2.6.1.1-py2.4-linux-i686.egg/multiprocessing/init.py:86:
RuntimeWarning: Python C API version mismatch for module
_multiprocessing: This Python has API version 1013, module
_multiprocessing has version 1012.
import _multiprocessing
Python version:
2.5.4 (r254:67916, Mar 28 2009, 15:01:19)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F
======================================================================
FAIL: test_managers_support.test_has_managers
----------------------------------------------------------------------
Traceback (most recent call last): File "/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py", line 182, in runTest self.test(*self.arg) File "/users/garrcoop/test_managers_support.py", line 9, in test_has_managers assert hasattr(multiprocessing, 'managers') AssertionErrorRan 1 test in 0.159s
FAILED (failures=1)
-bash-3.00$ python2.6
which nosetests~/test_managers_support.pyF
======================================================================
FAIL: test_managers_support.test_has_managers
----------------------------------------------------------------------
Traceback (most recent call last): File "/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py", line 182, in runTest self.test(*self.arg) File "/users/garrcoop/test_managers_support.py", line 7, in test_has_managers assert hasattr(multiprocessing, 'managers') AssertionErrorRan 1 test in 0.029s
FAILED (failures=1)
ngie-eign commentedon Apr 12, 2009
Sorry -- the info for my python2.6 was out of date. Here's the info (I
had to set PYTHONPATH to "" to avoid a multiprocessing module conflict):
bash-3.00$ PYTHONPATH=""; python2.6
which nosetests~/test_managers_support.py
Python version:
2.6.1 (r261:67515, Mar 28 2009, 06:39:52)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F
======================================================================
FAIL: test_managers_support.test_has_managers
----------------------------------------------------------------------
Traceback (most recent call last): File "/ws/garrcoop-sjc/tools/lib/python2.6/site-packages/nose-0.10.4-py2.6.egg/nose/case.py", line 182, in runTest self.test(*self.arg) File "/users/garrcoop/test_managers_support.py", line 9, in test_has_managers assert hasattr(multiprocessing, 'managers') AssertionErrorRan 1 test in 0.045s
FAILED (failures=1)
ngie-eign commentedon Apr 12, 2009
Ugh... nevermind. Bad case of PEBKAC. Sorry for the noise :(...