[英]Installing Janitor library in Azure Databricks
我安装了 Python 3.7。 试图在Azure DataBricks
中安装janitor
库。 它在我的本地机器上正常工作,但很难安装在Azure DataBricks
。
我运行dbutils.library.installPyPI('janitor')
,但出现以下错误: ModuleNotFoundError: No module named 'ConfigParser'
。 我尝试butils.library.installPyPI('mysqlclient')
,如“https://stackoverflow.com/questions/14087598/python-3-importerror-no-module-named-configparser”中所述,但没有奏效。
您可以使用
%pip install janitor
安装 Janitor 库。
根据您的 Databricks 运行时,如果您无法使用上述命令进行安装,您可以使用任何替代方法来安装库: 在 Azure Databricks 中安装包的不同方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.