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?
You should install the missing perl module on your machine. https://stackoverflow.com/questions/21123620/lwpprotocolhttps-not-installed-how-to-install
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
andsudo cpan install Bundle::LWP
but still can't to run Entrez. After first command I have the message:Please format the code using 0101 option.