help('modules')

help('modules') is deliberately disabled in newer versions of Enthought's Python, as in many cases it will cause a segfault with a standard set of EPD packages.

You can list all packages installed in EPD with `enpkg -l`.  Note that this will only list packages installed with the EPD installer or with enpkg, not packages installed by hand or with, for example, pip.

Have more questions? Submit a request

Comments

  • Avatar
    Aron Ahmadia

    Hi Robert. I ran into this today while helping at the Oxford Software Carpentry Boot camp.  The entire "help" function appeared to be disabled (this was running from a Windows machine, sorry I don't have more specifics).  Is this expected functionality?  Perhaps a slightly more meaningful error message: "This function has been deliberately disabled as part of the Enthought Canopy install" would cause less confusion?

  • Avatar
    Robert Grant

    Hi Aron,

    The 'help' function should work properly in Canopy and EPD from the python prompt.  This comment is specifically about using "help('modules')" to list available python modules, as in this question:  http://stackoverflow.com/questions/12063718/using-help-and-pydoc-to-list-python-modules-not-working/14590202#14590202

     

  • Avatar
    Aron Ahmadia

    Thanks.  I'll point the other boot camp instructors to this thread, and I'll see if they can reproduce and get a proper issue report in to you guys tomorrow.  

Powered by Zendesk