I have Perl installed on windows 10 (strawberry).
This is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x64-multi-thread.
I am trying to run Python and Perl both on same windows via same Jupyter Notebook. I googled and questioned chatgpt about how to install Perl for Jupyter Notebook. I found following answer:
To run Perl code in Jupyter Notebook, you need to install a Perl kerne
+l. One such kernel is the Perl 6 Kernel which supports Perl 6 program
+ming language, but it can also execute some Perl 5 code. You can inst
+all it using the following command:
Copy code
pip install jupyter_kernel_perl6
I ran command and tried to install Devel::IPerl via CPAN but it is failing with following errors:
Configuring P/PE/PEVANS/Future-IO-0.13.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Future-IO' version '0.13'
PEVANS/Future-IO-0.13.tar.gz
C:\Strawberry\perl\bin\perl.exe Build.PL -- OK
Running Build for P/PE/PEVANS/Future-IO-0.13.tar.gz
Building Future-IO
PEVANS/Future-IO-0.13.tar.gz
C:\Strawberry\perl\bin\perl.exe ./Build -- OK
Running Build test for PEVANS/Future-IO-0.13.tar.gz
t\00use.t ................ ok
t\01sleep.t .............. ok
t\02sysread.t ............ ok
t\03sysread_exactly.t .... ok
t\03sysread_until_eof.t .. ok
t\04syswrite.t ........... ok
t\05syswrite_exactly.t ... ok
t\06connect.t ............ 1/?
# Failed test 'Future::IO->connect fails on closed server'
# at C:\STRAWB~1\cpan\build\Future-IO-0.13-2\blib\lib/Test/Future/IO/I
+mpl.pm line 194.
t\06connect.t ............ 2/?
# Failed test 'Future::IO->connect failure'
# at C:\STRAWB~1\cpan\build\Future-IO-0.13-2\blib\lib/Test/Future/IO/I
+mpl.pm line 196.
# +------+-----------------------------+----+-------------------------
+----+
# | PATH | GOT | OP | CHECK
+ |
# +------+-----------------------------+----+-------------------------
+----+
# | [0] | <DOES NOT EXIST> | | connect: No connection c
+oul |
# | | | | d be made because the ta
+rge |
# | | | | t machine actively refus
+ed |
# | | | | it.\n
+ |
# | | | |
+ |
# | [1] | <DOES NOT EXIST> | | connect
+ |
# | | | |
+ |
# | [2] | <DOES NOT EXIST> | == | IO::Socket::INET=GLOB(0x
+353 |
# | | | | e5a8)
+ |
# | | | |
+ |
# | [3] | <DOES NOT EXIST> | | No connection could be m
+ade |
# | | | | because the target mach
+ine |
# | | | | actively refused it.
+ |
# +------+-----------------------------+----+-------------------------
+----+
# Seeded srand with seed '20230331' from local date.
t\06connect.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
t\07accept.t ............. ok
t\10sleep+sysread.t ...... skipped: Cannot select() on pipes on Window
+s
t\20impl-override.t ...... ok
t\21impl-before-load.t ... ok
t\30system.t ............. skipped: Unable to find a Future::IO impl t
+hat supports ->waitpid
t\99pod.t ................ ok
Test Summary Report
-------------------
t\06connect.t (Wstat: 512 Tests: 3 Failed: 2)
Failed tests: 2-3
Non-zero exit status: 2
Files=14, Tests=38, 12 wallclock secs ( 0.13 usr + 0.02 sys = 0.14 C
+PU)
Result: FAIL
Failed 1/14 test programs. 2/38 subtests failed.
Lockfile removed.
PEVANS/Future-IO-0.13.tar.gz
C:\Strawberry\perl\bin\perl.exe ./Build test -- NOT OK
Please tell me how to complete Perl installation?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.