Aester has asked for the wisdom of the Perl Monks concerning the following question:

Hi guys,

for my internship I have to write a website that combines certain webtools. For a DB-connection, I have to use the Perl API.

Everytime I use the code

use Bio::EnsEMBL::Registry;

I keep receiving the following error:

Can't locate Bio/EnsEMBL/Registry.pm in @INC (@INC contains: C:/perl/site/lib C:/Perl/lib .)

I've tried reinstalling Perl, twice. It's also the newest version online. I also added to the PATH-variable in windows the 2 paths given in the error. Nothing of these things worked.

Any help much appreciated!

Replies are listed 'Best First'.
Re: Can't locate module
by moritz (Cardinal) on Feb 22, 2011 at 13:02 UTC

      CPAN doesn't find anything (relevant) matching EnsEMBL - maybe whatever documentation or script Aester is using refers to an old/different version of BioPerl?

      I did, with the same result.

      I uploaded a screenshot, perhaps I missed somewhere.

      http://img441.imageshack.us/i/screenshotperl.png/

        Now that's really weird. How did you install BioPerl?

        Another idea: there could be two perls installed on your system, and you installed BioPerl for the "wrong" one.

        P.S. pasting text errors as images is detrimental to readiblity; I for one don't like scaled down images of screenshots when simple text would have been enough.

Re: Can't locate module
by marto (Cardinal) on Feb 22, 2011 at 13:06 UTC
Re: Can't locate module
by Khen1950fx (Canon) on Feb 22, 2011 at 18:26 UTC
    You'll need to download the ensembl api by itself. You can get it here:

    ensembl-api

    You'll find it in the Bio folder as Registry.pm.

Re: Can't locate module
by Monkomatic (Sexton) on Feb 22, 2011 at 18:44 UTC

    If using activeperl you can use ppm.

    Works like cpan command line but with graphic interface and seems to do dependencies slightly more reliably.

    Just type ppm on the command line to launch.