如何安装 ast python 包

如何安装 ast python 包

我在我的项目中使用 django constance 。这个应用程序使用了 python 包 ast。当我尝试使用命令安装该包时pip-2.7 install ast,结果为“ Could not find any downloads that satisfy the requirement ast”。

有人可以帮我如何在 CentOS 中安装这个软件包吗?我尝试在谷歌中搜索,不幸的是我找不到任何链接。

答案1

AST是python标准库的一部分,不需要单独安装。

答案2

尽量不要通过 <random program> 包处理程序安装包,而是通过您的发行版的包处理程序来安装包。如果不这样做,两者最终都会得到部分或冲突的视图。

相关内容