From ce29fcb464dddc41c05db16039e16c0760c88a8e Mon Sep 17 00:00:00 2001 From: Julia Date: Thu, 26 Sep 2019 11:50:18 +0200 Subject: [PATCH] Check for pyopengl-accelerate and info on BlueSky run without it --- check.py | 9 +++++++++ setup-python.errors.then.readme.txt | 5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/check.py b/check.py index a44af4ea66..e4eaee4619 100644 --- a/check.py +++ b/check.py @@ -102,6 +102,15 @@ def initializeGL(self): print('[FAIL]') print('Could not determine GL version') + print("Checking for pyopengl-accelerate", end=' ') + try: + import OpenGL_accelerate + except ImportError: + print("[FAIL]") + else: + print('[OK]') + + print("Checking for pygame ", end=' ') try: import pygame diff --git a/setup-python.errors.then.readme.txt b/setup-python.errors.then.readme.txt index 625a33c151..4154524a51 100644 --- a/setup-python.errors.then.readme.txt +++ b/setup-python.errors.then.readme.txt @@ -1,5 +1,6 @@ Windows 10 users: If you get errors installing pyopengl-accelerate, this is due to a problem with Microsofts Build tools and Python 3.7. -The best solution for now is to step back to python 3.6. -Hopefully this will soon be fixed by the pyopengl-accelerate developer +Hopefully this will soon be fixed by the pyopengl-accelerate developer. +You could step back to Python 3.6 (to use pyopengl-accelerate) +or run BlueSky with Python 3.7 (without pyopengl-accelerate).