如何运行';公用设施';Python中Optimus库的函数?
我得到了AttributeError:“Optimus”对象没有属性“Utilities”错误,即使在python 3.7.6中安装了Optimus库[2.2.29]。是因为我的本地系统中缺少ApacheSpark,因为Optimus是按照Spark工作的吗 main.py中的代码示例如何运行';公用设施';Python中Optimus库的函数?,python,apache-spark,pyspark,bigdata,Python,Apache Spark,Pyspark,Bigdata,我得到了AttributeError:“Optimus”对象没有属性“Utilities”错误,即使在python 3.7.6中安装了Optimus库[2.2.29]。是因为我的本地系统中缺少ApacheSpark,因为Optimus是按照Spark工作的吗 main.py中的代码示例 tools=op.Utilities() this.dataframe=tools.read_csv(path=fileName,sep=',') this.dataframe.show(10) this.ana
tools=op.Utilities()
this.dataframe=tools.read_csv(path=fileName,sep=',')
this.dataframe.show(10)
this.analyzer=op.DataFrameAnalyzer(df=this.dataframe)
错误:
INFO:optimus:Spark Version:2.4.1
INFO:optimus:
____ __ _
/ __ \____ / /_(_)___ ___ __ _______
/ / / / __ \/ __/ / __ `__ \/ / / / ___/
/ /_/ / /_/ / /_/ / / / / / / /_/ (__ )
\____/ .___/\__/_/_/ /_/ /_/\__,_/____/
/_/
INFO:optimus:Transform and Roll out...
INFO:optimus:Optimus successfully imported. Have fun :).
INFO:optimus:Config.ini not found
tools=op.Utilities()
AttributeError: 'Optimus' object has no attribute 'Utilities'
此外,它还显示未找到的Config.ini。我该如何解决这个问题?
有什么建议吗?另外,我是否需要在我的系统上单独安装ApacheSpark,或者pip安装Pyspark就足够了