Ned Deily <n...@python.org> added the comment: Glad you solved the immediate problem. Under the covers, pydoc (either pydoc2 or pydoc3) tries to import all the modules associated with the interpreter instance it's running under - from the Python standard library plus any additional vendor-supplied modules and and any you install (with pip et al). It seems likely that the Python 2 instance associated with the "pydoc" on your shell path (not "pydoc3" and Python 3) has at least one broken module installed. It may be a case of a third-party module being compiled against one version of Python 2.7 (say, a Homebrew version) and being executed with another (say the Apple-supplied system Python 2.7). See, for example, https://stackoverflow.com/questions/35640529/what-does-fatal-python-error-pythreadstate-get-no-current-thread-mean
---------- resolution: -> works for me stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32488> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com