kivy on replit: Unable to find any valuable window provider

Question:

This is my code:
`

import kivy
from kivy.app import App
from kivy.uix.gridlayout import GridLayout
from kivy.uix.label import Label
from kivy.uix.textinput import TextInput


class RegScreen(GridLayout):

  def __init__(self, **var_args):
    self.cols = 2
    self.add_widget(Label(text='First name'))
    self.firstname = TextInput(multiline=True)

    self.add_widget(self.firstname)
    self.add_widget(Label(text='password'))
    self.password = TextInput(password=True, multiline=False)

    self.add_widget(Label(text='Confirm password'))
    self.password = TextInput(password=True, multiline=False)
    self.add_widget(self.password)

    class Load(RegScreen):

      def build(self):
        return RegScreen()

    if __name__ == '__main__':
      Load().run()

And this is the error:

[CRITICAL] [Window      ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
sdl2 - ImportError: libXext.so.6: cannot open shared object file: No such file or directory

I tried installing certain dependencies that I had found in other solutions, hoping it would solve the problem but it didn’t and repilt’s shell showed this:
`

ERROR: Command errored out with exit status 1:
     command: /home/runner/UserRegister/venv/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-hq6rr6kl/pypiwin32_6caa8c8b8428414285cf134c3304e818/setup.py'"'"'; __file__='"'"'/tmp/pip-install-hq6rr6kl/pypiwin32_6caa8c8b8428414285cf134c3304e818/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-2i6rkuyb
         cwd: /tmp/pip-install-hq6rr6kl/pypiwin32_6caa8c8b8428414285cf134c3304e818
Asked By: Minion123

||

Answers:

Just a replit glitch. Its been sorted now

Answered By: Minion123
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.