Hi,

I am not really a python expert, but trying my best.

On my box I have installed python and sympy and it works.
I therefore suppose your problem is related to your installation.

Having that said, could you please send me the the
*)MORE* information right after the *DOMAIN ERROR*?

Other things to check:

*⎕ENV* in apl, in particular *PYTHONHOME* and friends.

BTW python is checked at runtime therefore the *,/configure* output
does not matter,


Thanks,
Jürgen


On 12/30/25 06:24, Russtopia wrote:
Hello,

In regards to the new ⌹.integral support -- I am seeing the DOMAIN ERROR as mentioned in docs (https://www.gnu.org/software/apl/apl.html#Integral-B), yet I have installed python sympy package. It is locally installed, in $HOME/.local/bin as both 'sympy' and 'isympy' on my system.

I ensured $HOME/.local/bin was in my $PATH prior to running the newly-installed GNU APL, and can run 'sympy' from there by itself from bash to evaluate expressions.

My system has Python 3.9.20, installed as /usr/bin/python3 -> python-exec2c

Is there any additional config or debug I should enable to troubleshoot this failure to find sympy?

$ apl --cfg

configurable options:
---------------------
    ASSERT_LEVEL_WANTED=1 (default)
    SECURITY_LEVEL_WANTED=0 (default)
    APSERVER_PATH=/tmp/GNU-APL/APserver (default)
    APSERVER_PORT=16366 (default)
    APSERVER_TRANSPORT=0 (default)
    CORE_COUNT_WANTED=8
    DYNAMIC_LOG_WANTED=no (default)
    MAX_RANK_WANTED=8 (default)
    RATIONAL_NUMBERS_WANTED=yes
    SHORT_VALUE_LENGTH_WANTED=12, therefore:
        sizeof(Value)       : 464 bytes
        sizeof(Cell)        :  24 bytes
        sizeof(Value header): 176 bytes

    VALUE_CHECK_WANTED=no (default)
    VALUE_HISTORY_WANTED=no (default)
    VF_TRACING_WANTED=no (default)
    VISIBLE_MARKERS_WANTED=no (default)

how ./configure was (probably) called:
--------------------------------------
    ./configure  '--with-ctrld_del=yes' 'RATIONAL_NUMBERS_WANTED=yes' 'CORE_COUNT_WANTED=8'

BUILDTAG:
---------
    Project:        GNU APL
    Version / SVN:  1.9 / SVN: 1937
    Build Date:     2025-12-29 21:01:38 PST
    Build OS:       Linux 6.5.10_p1-debian-sources x86_64
    config.status:  default ./configure options
    Archive SVN:    1935

Thanks,
-Russ


On Sun, Dec 28, 2025 at 9:00 AM <[email protected]> wrote:

    Send Bug-apl mailing list submissions to
    [email protected]

    To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.gnu.org/mailman/listinfo/bug-apl
    or, via email, send a message with subject or body 'help' to
    [email protected]

    You can reach the person managing the list at
    [email protected]

    When replying, please edit your Subject line so it is more specific
    than "Re: Contents of Bug-apl digest..."


    Today's Topics:

       1. ⌹.integral (Dr. Jürgen Sauermann)


    ----------------------------------------------------------------------

    Message: 1
    Date: Sat, 27 Dec 2025 21:08:39 +0100
    From: Dr. Jürgen Sauermann <[email protected]>
    To: bug-apl <[email protected]>
    Subject: ⌹.integral
    Message-ID:
           
    <[email protected]>
    Content-Type: text/plain; charset="utf-8"; Format="flowed"

    Hi,

    as a late Xmas present, there is a new GNU APL function
    *⌹.integral* which,
    nomen est omen, computes the indefinite integral of an expression *B*:

    *      2 ⌹.integral "sqrt(x³)"
           _____
    2⋅x⋅╲╱  x³
    ───────────
          5
    *
    *SVN 1937.*

    Enjoy.
    Jürgen
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL:
    
<https://lists.gnu.org/archive/html/bug-apl/attachments/20251227/0c22f990/attachment.htm>

    ------------------------------

    Subject: Digest Footer

    _______________________________________________
    Bug-apl mailing list
    [email protected]
    https://lists.gnu.org/mailman/listinfo/bug-apl


    ------------------------------

    End of Bug-apl Digest, Vol 146, Issue 13
    ****************************************

  • Re: Bug-apl Di... Russtopia
    • Re: Bug-a... Dr . Jürgen Sauermann via Bugs and suggestions for GNU APL
      • Re: B... Russtopia
        • R... Christian Robert
          • ... Dr . Jürgen Sauermann via Bugs and suggestions for GNU APL

Reply via email to