Entrez Direct's problem
0
0
Entering edit mode
6.2 years ago
Neil ▴ 20

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 • 2.1k views
ADD COMMENT
1
Entering edit mode

You should install the missing perl module on your machine. https://stackoverflow.com/questions/21123620/lwpprotocolhttps-not-installed-how-to-install

ADD REPLY
0
Entering edit mode

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

ADD REPLY
1
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
1
Entering edit mode

Please format the code using 0101 option.

ADD REPLY

Login before adding your answer.

Traffic: 1929 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6