MWAA 卸载 python 个软件包
MWAA uninstall python packages
当我们需要在 AWS MWAA 中扩展 Airflow 功能时,我们只需列出
在与 MWAA 实例关联的 requirements.txt 文件中需要 python 个包。 MWAA 自行安装它们。
但是我们怎样才能删除一些以前安装的包呢?只是从 requirements.txt 中删除它们并不能使 MWAA 卸载它们。
您必须上传空白 requirements.txt 文件并重新更新环境。
Can I remove a plugins.zip or requirements.txt from an environment?
Currently, there is no way to remove a plugins.zip or requirements.txt from an environment once they’ve been added, but we're working on the issue. In the interim, a workaround is to point to an empty text or zip file, respectively. To learn more, see Deleting files on Amazon S3.
参考:https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-faqs.html
当我们需要在 AWS MWAA 中扩展 Airflow 功能时,我们只需列出 在与 MWAA 实例关联的 requirements.txt 文件中需要 python 个包。 MWAA 自行安装它们。 但是我们怎样才能删除一些以前安装的包呢?只是从 requirements.txt 中删除它们并不能使 MWAA 卸载它们。
您必须上传空白 requirements.txt 文件并重新更新环境。
Can I remove a plugins.zip or requirements.txt from an environment?
Currently, there is no way to remove a plugins.zip or requirements.txt from an environment once they’ve been added, but we're working on the issue. In the interim, a workaround is to point to an empty text or zip file, respectively. To learn more, see Deleting files on Amazon S3.
参考:https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-faqs.html