I've never seen a Strawberry Perl installation as new as 5.24 that doesn't include cpanm. Are you sure your perl environment is set up correctly? If you installed into c:\strawberry, with the perl executable in c:\strawberry\perl\bin\perl.exe, then you should already have cpanm as c:\strawberry\perl\bin\cpanm.bat. Please run

perl -V perl -MApp::cpanminus -le "print 'ok'" perl -le "print for grep { /(berry|perl)/ } split /;/, $ENV{PATH}" cpanm --version
... and share the output. The -V gives more verbose info about your Perl installation (that's a capital V this time, compared to the lowercase -v you showed). The -M line will give an error if App::cpanminus isn't installed or findable. The -le will show us relevant portions of your path. The cpanm execution will give some cpanm-specific info if it's found in your path.

Also, you showed

c:...>perl -v This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-x +64-multi-thread
which indicates a 64-bit build (the -x64-). But the Slic3r instructions say in big bold print, "Strawberry Perl (32-bit only)". Oh, sorry, re-reading, I see they have a patched version of 64-bit Perl that they claim works, that they called "Slic3r Perl". Did you grab that, or a 64-bit directly from Strawberry Perl?


In reply to Re: Installing cpanminus in Strawberry Perl on Windows 10 by pryrt
in thread Installing cpanminus in Strawberry Perl on Windows 10 by les751

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.