Giter VIP home page Giter VIP logo

dockerimage_kivy's Introduction

dockerImage_kivy

curl -sSL https://get.docker.com | sh
docker run -it --device=/dev/input/event0 --device=/dev/vchiq --device=/dev/gpiomem --device=/dev/i2c-1 kmchord9/kivyenv

dockerimage_kivy's People

Contributors

kmchord9 avatar

Watchers

James Cloos avatar  avatar

dockerimage_kivy's Issues

kivy error

[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
egl_rpi - Exception: Unknown type, no loader found.
File "/usr/local/lib/python3.7/site-packages/kivy/core/init.py", line 71, in core_select_lib
cls = cls()
File "/usr/local/lib/python3.7/site-packages/kivy/core/window/init.py", line 981, in init
self.create_window()
File "/usr/local/lib/python3.7/site-packages/kivy/core/window/window_egl_rpi.py", line 41, in create_window
super(WindowEglRpi, self).create_window()
File "/usr/local/lib/python3.7/site-packages/kivy/core/window/init.py", line 1258, in create_window
self.render_context = RenderContext()
File "kivy/graphics/instructions.pyx", line 783, in kivy.graphics.instructions.RenderContext.init
File "/usr/local/lib/python3.7/site-packages/kivy/core/image/init.py", line 561, in init
self.filename = arg
File "/usr/local/lib/python3.7/site-packages/kivy/core/image/init.py", line 756, in _set_filename
mipmap=self._mipmap, nocache=self._nocache)
File "/usr/local/lib/python3.7/site-packages/kivy/core/image/init.py", line 463, in load
raise Exception('Unknown <%s> type, no loader found.' % ext)

sdl2 - RuntimeError: b'No available video device'
File "/usr/local/lib/python3.7/site-packages/kivy/core/init.py", line 71, in core_select_lib
cls = cls()
File "/usr/local/lib/python3.7/site-packages/kivy/core/window/window_sdl2.py", line 152, in init
super(WindowSDL, self).init()
File "/usr/local/lib/python3.7/site-packages/kivy/core/window/init.py", line 981, in init
self.create_window()
File "/usr/local/lib/python3.7/site-packages/kivy/core/window/window_sdl2.py", line 290, in create_window
self.get_gl_backend_name())
File "kivy/core/window/_window_sdl2.pyx", line 110, in kivy.core.window._window_sdl2._WindowSDL2Storage.setup_window
File "kivy/core/window/_window_sdl2.pyx", line 74, in kivy.core.window._window_sdl2._WindowSDL2Storage.die

x11 - ModuleNotFoundError: No module named 'kivy.core.window.window_x11'
File "/usr/local/lib/python3.7/site-packages/kivy/core/init.py", line 63, in core_select_lib
fromlist=[modulename], level=0)

matplotlibがインストールできない

ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-fbpe07zt/kiwisolver/setup.py'"'"'; file='"'"'/tmp/pip-install-fbpe07zt/kiwisolver/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jwsegc22
cwd: /tmp/pip-install-fbpe07zt/kiwisolver/
Complete output (44 lines):
WARNING: The wheel package is not available.
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-i6p84qsk/cppy/setup.py'"'"'; file='"'"'/tmp/pip-wheel-i6p84qsk/cppy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-oztsy71n
cwd: /tmp/pip-wheel-i6p84qsk/cppy/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for cppy
ERROR: Failed to build one or more wheels
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/setuptools/installer.py", line 126, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/local/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/bin/python3.6', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpasuvnfmf', '--quiet', 'cppy>=1.1.0']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-fbpe07zt/kiwisolver/setup.py", line 92, in <module>
    cmdclass={'build_ext': BuildExt},
  File "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", line 152, in setup
    _install_setup_requires(attrs)
  File "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/local/lib/python3.6/site-packages/setuptools/dist.py", line 676, in fetch_build_eggs
    replace_conflicting=True,
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 766, in resolve
    replace_conflicting=replace_conflicting
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1049, in best_match
    return self.obtain(req, installer)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1061, in obtain
    return installer(requirement)
  File "/usr/local/lib/python3.6/site-packages/setuptools/dist.py", line 732, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/usr/local/lib/python3.6/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/local/bin/python3.6', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpasuvnfmf', '--quiet', 'cppy>=1.1.0']' returned non-zero exit status 1.
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 20.3 is available.
You should consider upgrading via the '/usr/local/bin/python3.6 -m pip install --upgrade pip' command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.