Traceback (most recent call last):


 "/usr/lib/spark/python/lib/pyspark.zip/pyspark/sql/context.py", line 433, in read

return DataFrameReader(self)


 "/usr/lib/spark/python/lib/pyspark.zip/pyspark/sql/readwriter.py", line 70, in __init__

self._jreader = spark._ssql_ctx.read()
AttributeError: 'JavaMember' object has no attribute 'read'

Traceback (most recent call last):


 "/Users//Desktop/hallo/Code/hikari/hikaribot/src/bot.py", line 290, in handle_errors

raise error


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/lightbulb/command_handler.py", line 853, in process_commands_for_event

await self._invoke_command(command, context, positional_args, keyword_arg)


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/lightbulb/command_handler.py", line 789, in _invoke_command

await command.invoke(context)


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/lightbulb/commands.py", line 503, in invoke

return await self._callback(context, *new_args, **kwargs)


 "/Users//Desktop/hallo/Code/hikari/hikaribot/src/bot.py", line 244, in nsfw

detector = NudeDetector()


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/nudenet/detector.py", line 62, in __init__

self.detection_model = tf.contrib.predictor.from_saved_model(
AttributeError: module 'tensorflow' has no attribute 'contrib'
