[pyOpenGL] Help Needed to Install it ! - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: [pyOpenGL] Help Needed to Install it ! (/thread-5229.html) |
[pyOpenGL] Help Needed to Install it ! - JamieVanCadsand - Sep-23-2017 Hey Programmers... I get installed pyGame. But now i want to install pyOpenGL on Windows 7 and 10. But i need help with it. I get python 3.6.2, incl. PIP from the custom installation. But i try to install pyOpenGL on windows 7. But i don't know whats the way to install it. Can enyone tell me the best way to insall pyOpenGL ?... I get push 'PyOpenGL-3.1.0.tar' in the python path... but now to install it. Thanks for helping, Jamie. RE: [pyOpenGL] Help Needed to Install it ! - buran - Sep-23-2017 as per the installation instructions Most users of PyOpenGL should use pip to install PyOpenGL automatically. It can be installed either to the system Python or a Virtualenv. $ pip install PyOpenGL PyOpenGL_accelerate RE: [pyOpenGL] Help Needed to Install it ! - JamieVanCadsand - Sep-24-2017 (Sep-23-2017, 03:23 PM)buran Wrote: as per the installation instructions OK... i have tryed this, but if i run an pyOpenGL Script from the official pyOpenGL download site... python give errors. Whats wrong with pyOpenGL ?... python give errors and the command prompt give red text if i install it via PIP. Can anyone tell me whats the problem... My OpenGL Viewer said thad my computer contains OpenGL 3.1... but my command prompt give red text, must i get more packages download to run pyOpenGL ?.... Can anyone help me to tell what the problem is ?. I get even the pip subtools installed for python packages, but its still don't work if i run pyOpenGL Scripts on python 3.6.2. I get Python 3.6.2 on Windows 7 (and 10)... Can enyone help me ?... Thanks for help, Jamie van Cadsand. RE: [pyOpenGL] Help Needed to Install it ! - buran - Sep-24-2017 Ok. Can you post what is printed when you install it via pip? What errors you get? RE: [pyOpenGL] Help Needed to Install it ! - JamieVanCadsand - Sep-24-2017 (Sep-24-2017, 12:03 PM)buran Wrote: Ok. Can you post what is printed when you install it via pip? What errors you get? My Error... Command Prompt Said: The error thad begins with 'Command "C:\users\gebruiker\..."' is in red tekst, in thecommand prompt on windows 7, on my laptop. The rest is in white text. Have you any idea, whats the problem is ?... Thanks for Help, Jamie. RE: [pyOpenGL] Help Needed to Install it ! - snippsat - Sep-24-2017 PyOpenGL_accelerate will not work from pip install PyOpenGL_accelerate try to compile.So use wheel here. Here a run so you can see how it work,i use virtual environment(is build in on 3.6). You don't need to use virtual environment,just use the same pip install. # Make environment E:\1py_div λ python -m venv py_gl E:\1py_div λ cd py_gl # Activate λ E:\1py_div\py_gl\Scripts\activate (py_gl) E:\1py_div\py_gl # Place wheel files in this folder and install λ pip install PyOpenGL-3.1.1-cp36-cp36m-win32.whl Processing e:\1py_div\py_gl\pyopengl-3.1.1-cp36-cp36m-win32.whl Installing collected packages: PyOpenGL Successfully installed PyOpenGL-3.1.1 # Install Accelerate (py_gl) E:\1py_div\py_gl λ pip install PyOpenGL_accelerate-3.1.1-cp36-cp36m-win32.whl Processing e:\1py_div\py_gl\pyopengl_accelerate-3.1.1-cp36-cp36m-win32.whl Installing collected packages: PyOpenGL-accelerate Successfully installed PyOpenGL-accelerate-3.1.1 # Test that it work (py_gl) E:\1py_div\py_gl λ python Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from OpenGL.GL import * >>> from OpenGL.GL import shaders >>> from OpenGL.arrays import vbo >>> exit() (py_gl) E:\1py_div\py_glFor more on install and test that pip work(from anywhere in cmd), you can look at part-1, part-2. RE: [pyOpenGL] Help Needed to Install it ! - seravkin - Dec-07-2017 Hi! I have installed PyOpenGL-3.1.1-cp36-cp36m-win_amd64.whl, but still there is an error >pip list certifi (2017.11.5) chardet (3.0.4) idna (2.6) pip (9.0.1) PyOpenGL (3.1.1) pywin32 (221) requests (2.18.4) setuptools (28.8.0) urllib3 (1.22) >python Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] from OpenGL.GL import *ModuleNotFoundError: No module named 'OpenGL.GL'; 'OpenGL' is not a package RE: [pyOpenGL] Help Needed to Install it ! - serenity - Nov-20-2020 windows command prompt: pip install gl pip install glu pip list RE: [pyOpenGL] Help Needed to Install it ! - singletonamos50 - Dec-13-2020 Most users of PyOpenGL should use pip to install PyOpenGL automatically. It can be installed either to the system Python or a Virtualenv. |