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.

已提問 1 年前檢視次數 363 次
2 個答案
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
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南