Open iacobucci opened 5 years ago
From https://github.com/deepmind/dm_control/issues/20
That error suggests that you're running on a machine without an X display. GLFW requires X11, so it can't be used on headless servers. We're working on adding support for other OpenGL backends that support headless rendering.
Can it be the case?
@auraz Well I have actually installed X11 and it works totally fine in other instances so i dont't know what the error might be...
Hm, thanks for update.
Alexander ///
4 бер. 2019 р. о 10:51 selzen notifications@github.com пише:
@auraz Well I have actually installed X11 and it works totally fine in other instances so i dont't know what the error might be...
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Similar to https://github.com/p5py/p5/issues/93.
I'm trying to run a simple python p5 script on Debian Jessie on a armv8l device with python 3.4.2. I've installed the p5 library, vispy and numpy as written in the reference. I have successfully installed libglfw3. Moreover i've installed Pillow on apt using
sudo apt install python-imaging build-dep
I'm just trying to run a simple script called myp5.py: from p5 import *
def setup(): size(400,400)
def draw():
background(255) stroke(0) fill(150) rect((50, 50), 75, 100) run()
And it returns when executed as
python3 myp5.py:
1 File "/home/android/source/python/myp5.py", line 13, in
2 run() 3 File "/usr/local/lib/python3.4/dist-packages /p5/sketch/userspace.py", line 136, in run 4 default_sketch = Sketch(setup_method, draw _method, handlers, frame_rate) 5 File "/usr/local/lib/python3.4/dist-packages /p5/sketch/base.py", line 112, in init 6 resizable=False, 7 File "/usr/local/lib/python3.4/dist-packages /vispy/app/canvas.py", line 205, in init 8 self.create_native()
9 File "/usr/local/lib/python3.4/dist-packages /vispy/app/canvas.py", line 220, in create_nat ive 10 assert self._app.native
11 File "/usr/local/lib/python3.4/dist-packages /vispy/app/application.py", line 161, in nativ e 12 return self._backend._vispy_get_native_app ()
13 File "/usr/local/lib/python3.4/dist-packages /vispy/app/backends/_glfw.py", line 215, in _v ispy_get_native_app 14 raise OSError('Could not init glfw:\n%r' % _glfw_errors) 15 OSError: Could not init glfw: 16 ["Error 65544: b'X11: The keyboard extension i s not available'"]