1
Technology / Installing New Perl Modules
« Last post by wiredlife on January 23, 2023, 11:21:23 AM »Refer here http://dslindia.com/how-to-install-perl-packages-without-ppm-of-activestate/
For Installing OpenAI on ActiveState Perl
1. Installed cpanminus from within ppm
2. then ran the command cpanm https://cpan.metacpan.org/authors/id/N/NF/NFERRAZ/OpenAI-API-0.07.tar.gz
3. it failed - ! Installing the dependencies failed: Installed version (6.15) of LWP::UserAgent is not in range '6.47'
4. Then I did cpanm LWP even it failed because Net::HTTP is not in range '6.18'
5. Then I did cpanm Net:HTTP --force so that I get the latest version
6. The I tried cpanm https://cpan.metacpan.org/authors/id/N/NF/NFERRAZ/OpenAI-API-0.07.tar.gz - Installed successfully
For Installing OpenAI on ActiveState Perl
1. Installed cpanminus from within ppm
2. then ran the command cpanm https://cpan.metacpan.org/authors/id/N/NF/NFERRAZ/OpenAI-API-0.07.tar.gz
3. it failed - ! Installing the dependencies failed: Installed version (6.15) of LWP::UserAgent is not in range '6.47'
4. Then I did cpanm LWP even it failed because Net::HTTP is not in range '6.18'
5. Then I did cpanm Net:HTTP --force so that I get the latest version
6. The I tried cpanm https://cpan.metacpan.org/authors/id/N/NF/NFERRAZ/OpenAI-API-0.07.tar.gz - Installed successfully