-----Original Message----- From: Harvey Frey Sent: Tuesday, November 29, 2016 6:08 AM To: [email protected] Subject: [Pdl-general] I can't get PDL to run. Is it installed improperly? ppm won't let me reinstall it.
> So I tried to reinstall PDL and entered: "ppm install PDL" > > error messages: > > Downloading PDL-2.007...redirect Downloading PDL-2.007...failed 401 > Authorization Required > ppm install failed: 401 Authorization Required > > What is a 401 error? Whose authorization do I need? I think it might be that, with older perl versions, you need authorisation from ActiveState to access their ppm packages. Try a different repo: ppm repo add http://www.sisyphusion.tk/ppm ppm install http://www.sisyphusion.tk/ppm/PDL.ppd --force If ppm then tries to install the pre-requisites from the ActiveState repo (and fails because authorisation is needed) you could remove the ActiveState repo from PPM's repo list or do: ppm install http://www.sisyphusion.tk/ppm/Exporter-Tiny.ppd --force ppm install http://www.sisyphusion.tk/ppm/List-MoreUtils.ppd --force ppm install http://www.sisyphusion.tk/ppm/Params-Util.ppd --force ppm install http://www.sisyphusion.tk/ppm/Sub-Install.ppd --force ppm install http://www.sisyphusion.tk/ppm/Data-OptList.ppd --force ppm install http://www.sisyphusion.tk/ppm/Sub-Exporter.ppd --force ppm install http://www.sisyphusion.tk/ppm/Sub-Exporter-Progressive.ppd --force ppm install http://www.sisyphusion.tk/ppm/PerlIO-Layers.ppd --force ppm install http://www.sisyphusion.tk/ppm/Const-Fast.ppd --force ppm install http://www.sisyphusion.tk/ppm/File-Map.ppd --force ppm install http://www.sisyphusion.tk/ppm/OpenGL.ppd --force ppm install http://www.sisyphusion.tk/ppm/Convert-UU.ppd --force ppm install http://www.sisyphusion.tk/ppm/Astro-FITS-Header.ppd --force ppm install http://www.sisyphusion.tk/ppm/PDL.ppd --force (I'm not so sure that all of those modules are needed to run PDL. But they're specified in the various ppd files, so PPM will probably want to install them.) Using Strawberry Perl, as Chris suggested, is a better approach (IMO) to using Perl on Windows. Cheers, Rob ------------------------------------------------------------------------------ _______________________________________________ pdl-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdl-general
