How can I use python libraries spacy in aws glue jupyter notebook ?

0

I tried using !pip3 install spacy to download the library but the notebook was not able to find the module, next I realized you can use %additioanl_python_modules, but I am not able to figure out how to do so...so I have to zip them even if I am not using my own custom libraries.

posta un anno fa363 visualizzazioni
2 Risposte
0
0

If you have a zip you need to use %extra_py_files and point to s3, if you use %additional_python_modules you can point to a whl on s3 or just use a pip package name list.
Notice you need to do this before you run any other cells that would start the session.

profile pictureAWS
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande