2016-05-21 4 views
-2
importieren es existiert
(GameEnv) [email protected]:~$ pip install PyOpenGl 
Collecting PyOpenGl 
Installing collected packages: PyOpenGl 
Successfully installed PyOpenGl-3.1.0 
(GameEnv) [email protected]:~$ pip list 
*pip (8.1.2) 
pkg-resources (0.0.0) 
PyOpenGL (3.1.0) 
setuptools (21.2.0) 
wheel (0.29.0) 
(GameEnv) [email protected]:~$ python 
Python 3.5.1+ (default, Mar 30 2016, 22:46:26) 
[GCC 5.3.1 20160330] on linux 
Type "help", "copyright", "credits" or "license" for more information. 
>>> import PyOpenGL.GL 
Traceback (most recent call last): 
    File "<stdin>", line 1, in <module> 
ImportError: No module named 'PyOpenGL' 
>>> import PyOpenGL 
Traceback (most recent call last): 
    File "<stdin>", line 1, in <module> 
ImportError: No module named 'PyOpenGL' 
>>> 
+1

Bearbeiten Sie Ihre Post, so dass es lesbar ist, Sie haben auch nicht den Namen der Bibliothek erwähnt, was ist Ihre Einrichtung und was Sie bereits versucht, den Fehler zu beheben –

Antwort

0

Ich habe ähnliche Dinge vorher gesehen, wenn eine Bibliothek fehlt, oder es gibt einige zugrunde liegende Inkonsistenz. Ein Beispiel finden Sie in PyOpenGL - import error: No module named GL.

Sorry, ich kann nicht mehr Hilfe sein.

Verwandte Themen