Can't locate <file> in @INC (@INC contains <file> ... )
1
0
Entering edit mode
11.0 years ago
sbogen • 0

Hello,

I am a first-year graduate student working with perl for the first time. I am working on running the CREST (clipping reveals structure) pipeline. I set up a Blat gfServer and now I am running extractSClip.pl. I got the following error message:

can't locate SCValidator.pm in @INC (@INC contains: ...)

which I attempted to fix using the -I /path/to/SCValidator.pm argument. This led me to the following error message:

can't locate SCValidator.pm in @INC (@INC contains: /path/to/SCValidator.pm ....)

So, it appears that SCValidator is in @INC. Why does it still say that it cannot be located? Does anybody know what the problem is?

Thank you!

perl crest @inc • 8.1k views
ADD COMMENT
1
Entering edit mode
11.0 years ago

the -I option must contain the root module path, not the module itself. take a look at some worked examples, which present a few different ways to avoid this annoying issue.

ADD COMMENT

Login before adding your answer.

Traffic: 4227 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