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


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 I have to zip them even if I am not using my own custom libraries.

已提问 1 年前372 查看次数
2 回答

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 年前

您未登录。 登录 发布回答。