This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Entrez Direct's problem

Hello. I have a problem with using Entrez Direct. I'm currently reading "Biostar handbook" and carefully followed the instructions written in that book about installing Entrez Direct. But I get a message error:

501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)

The book advice entering these commands:

mkdir -p ~/src 

curl ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/edirect.zip > ~/src/edirect.zip

unzip -o ~/src/edirect.zip -d ~/src 

echo 'export PATH=~/src/edirect:$PATH' >> ~/.bashrc

source ~/.bashrc

As I said I carefully followed the instruction but still have the error message. How can I solve this problem?

software error entrez_direct

Ok, got it. How can I install this perl module on mac? I tried google but nothing found.

Module installation steps can be found on the stackoverflow link. e.g using cpan

I tried sudo cpan install LWP::Protocol::https and sudo cpan install Bundle::LWP but still can't to run Entrez. After first command I have the message:

Test Summary Report t/apache.t (Wstat: 768 Tests: 5 Failed: 3)
Failed tests: 1, 3-4 Non-zero exit status: 3 t/https_proxy.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=2, Tests=5, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.16 cusr 0.03 csys = 0.22 CPU) Result: FAIL Failed 2/2 test programs. 3/5 subtests failed. make: * [test_dynamic] Error 2 OALDERS/LWP-Protocol-https-6.07.tar.gz
/usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports OALDERS/LWP-Protocol-https-6.07.tar.gz

Please format the code using 0101 option.

0 answers

No answers yet.

Log in to answer this question.