id summary reporter owner description type status priority milestone component version resolution keywords cc port 26186 python25: No module named _ctypes joe.paxton@… jyrkiwahlstedt "Mac OS X 10.6.4 Xcode 3.2.2 When attempting to get a list of installed modules (help('modules')) in python25, I'm getting the following error message: NameError: name 'ctypes' is not defined The problem does not appear to be an upstream issue, as the version of python 2.5 that comes pre-installed in Snow Leopard doesn't The full traceback follows: {{{ Traceback (most recent call last): File """", line 1, in File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site.py"", line 346, in __call__ return pydoc.help(*args, **kwds) File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/pydoc.py"", line 1646, in __call__ self.help(request) File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/pydoc.py"", line 1683, in help elif request == 'modules': self.listmodules() File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/pydoc.py"", line 1804, in listmodules ModuleScanner().run(callback) File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/pydoc.py"", line 1855, in run for importer, modname, ispkg in pkgutil.walk_packages(): File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/pkgutil.py"", line 125, in walk_packages for item in walk_packages(path, name+'.', onerror): File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/pkgutil.py"", line 110, in walk_packages __import__(name) File ""/opt/local/lib/python2.5/site-packages/PsychoPy-1.62.00-py2.5.egg/psychopy/ext/__init__.py"", line 18, in from darwin import * File ""/opt/local/lib/python2.5/site-packages/PsychoPy-1.62.00-py2.5.egg/psychopy/ext/darwin.py"", line 16, in kCGLCPSwapInterval= ctypes.c_int(222) NameError: name 'ctypes' is not defined }}}" defect closed Normal ports 1.9.1 wontfix jameskyle@… ryandesign luca@… python25