MaslowCNC / GroundControl

This is the Ground Control software used to control the Maslow CNC Machine
https://www.MaslowCNC.com
GNU General Public License v3.0
275 stars 122 forks source link

Installation Issues on Xubuntu 18.04 #815

Open edemeulle opened 4 years ago

edemeulle commented 4 years ago

I read Justin Abrams issue at https://github.com/MaslowCNC/GroundControl/issues/797 but are continuing to get similar errors. Any suggestions would be appreciated.

`ewd@ewd-D610:~/GroundControl$ python main.py [INFO ] [Logger ] Record log in /home/ewd/.kivy/logs/kivy_20-02-08_2.txt [INFO ] [Kivy ] v1.11.1 [INFO ] [Kivy ] Installed at "/usr/lib/python2.7/dist-packages/kivy/init.pyc" [INFO ] [Python ] v2.7.17 (default, Nov 7 2019, 10:07:09) [GCC 7.4.0] [INFO ] [Python ] Interpreter at "/usr/bin/python" [INFO ] [Logger ] Purge log fired. Analysing... [INFO ] [Logger ] Purge finished! [WARNING] [Deprecated ] Python 2 Kivy support has been deprecated. The Kivy release after 1.11.0 will not support Python 2 anymore [INFO ] [Factory ] 184 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_pil, img_gif (img_sdl2, img_ffpyplayer ignored) [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 egl_rpi - ImportError: cannot import name bcm File "/usr/lib/python2.7/dist-packages/kivy/core/init.py", line 63, in core_select_lib fromlist=[modulename], level=0) File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_egl_rpi.py", line 12, in from kivy.lib.vidcore_lite import bcm, egl

sdl2 - ImportError: libSDL2_image-2.0.so.0: cannot open shared object file: No such file or directory File "/usr/lib/python2.7/dist-packages/kivy/core/init.py", line 63, in core_select_lib fromlist=[modulename], level=0) File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 27, in from kivy.core.window._window_sdl2 import _WindowSDL2Storage

x11 - ImportError: No module named window_x11 File "/usr/lib/python2.7/dist-packages/kivy/core/init.py", line 63, in core_select_lib fromlist=[modulename], level=0)

[INFO ] [Text ] Provider: pil(['text_sdl2'] ignored) [CRITICAL] [App ] Unable to get a Window, abort. `

gb0101010101 commented 4 years ago

[WARNING] [Deprecated ] Python 2 Kivy support has been deprecated. The Kivy release after 1.11.0 will not support Python 2 anymore [INFO ] [Kivy ] v1.11.1 [INFO ] [Python ] v2.7.17

You either need to downgrade Kivy to v1.11.0 or upgrade Python to v3.x

Try doing Kivy first as this is probably easier:

sudo pip uninstall Kivy
sudo pip install Kivy==1.9.1

Did you install using pip install -r requirements_linux.txt?