Skip to content

[BUG] It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory. #97

@ghost

Description

Describe the bug

I would like to use the Spacy layer, but it's not working. The following code:

nlp = spacy.load('/opt/en_core_web_sm-2.2.5')

Raises the following error: It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory. I've listed what is inside the /opt directory, and there are only python dependencies within the python/ directory.

I have tried to use the layer for both Python37 and Python38.

Layer Version ARN:

arn:aws:lambda:us-east-1:113088814899:layer:Klayers-python37-spacy:18
arn:aws:lambda:us-east-1:770693421928:layer:Klayers-python38-spacy:11

Specific Layer ARN that didn't work (let's us know which version, region etc).

Framework:

Serverless Framework

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions