in reply to Inline::Python for windows 10

Hello tobbes and welcome to the monastery and to the wonderful world of Perl!

> which from what I have heard does not work on windows

is not knoweledge, are rumors.. ;=) but if you want to know how a module, generally speaking, runs out of the box on a OS take a look at cpan testers matrix: matrix for Inline-Python+0.56.

The whole column for windows family is not promising: I tried skipping tests as suggested but I had no success anyway.

# set INLINE_PYTHON_EXECUTABLE=c:\path\to\python.exe .... dmake.exe: Error code 129, while making 'blib\arch\auto\Inline\Python +\Python.dll' NINE/Inline-Python-0.56.tar.gz C:\path\strawberry\c\bin\dmake.exe -- NOT OK Skipping test because of notest pragma Running make install Make had returned bad status, install seems impossible Failed during this command: JWB/Proc-ProcessTable-0.55.tar.gz : make NO NINE/Inline-Python-0.56.tar.gz : make NO

Obviously you already have python installed, rigth (and in PATH..)?

My best wishes and share your results!

L*

update I installed active python on another machine: I set the ENV var correctly, I issued force notest install Inline::Python and still fails on the module:

JWB/Proc-ProcessTable-0.55.tar.gz : make NO

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: Inline::Python for windows 10 (update)
by syphilis (Archbishop) on Oct 16, 2018 at 00:05 UTC
    JWB/Proc-ProcessTable-0.55.tar.gz : make NO

    Hmmm ... given that you had specified "notest" and that Proc-ProcessTable is required only for testing, it seems rather ridiculous that the build process should throw up that obstacle.
    I would recommend switching to a procedure that bypasses that insanity.

    Cheers,
    Rob
Re^2: Inline::Python for windows 10 (update)
by swl (Prior) on Oct 16, 2018 at 04:56 UTC

    Maybe try with cpanm --look to manually run the make steps, skipping the tests directly.

    cpanm --look Inline::Python perl Makefile.PL gmake gmake install

    Substitute dmake for gmake as needed.

    I just tried it, but don't have a python handy that satisfies Inline::Python (it's provided as part of a commercial package) so could not get it to a successful make stage without more work or installing another python on my system.