Gentoo Archives: gentoo-user-br

From: Zhu Sha Zang <zhushazang@×××××××××.br>
To: gentoo-user-br@l.g.o
Subject: Re: [gentoo-user-br] Python não acha lib PyOpenGL
Date: Thu, 08 Jul 2010 03:37:03
Message-Id: op.vfh9mli3xyvfyb@blackhammer.semfio.usp.br
In Reply to: [gentoo-user-br] Python não acha lib PyOpenGL by Raphael MD
1 Rapaz, aqui foi
2
3
4 [rodolfo@blackhammer ~]$
5 python
6 0:34
7 Python 2.6.5 (release26-maint, Jun 3 2010, 03:51:20)
8 [GCC 4.4.3] on linux2
9 Type "help", "copyright", "credits" or "license" for more information.
10 >>> import OpenGL
11 >>> from OpenGL.GL import *
12 >>> from OpenGL.GLU import *
13 >>>
14
15 Na versão 3.1 não foi, uma pena.
16
17 Att
18
19 Em Thu, 08 Jul 2010 00:08:07 -0300, Raphael MD <raphamejias@×××××××××.br>
20 escreveu:
21
22 > Tenho o Python 2.6.4, e a biblioteca pyopengl instalada, só que não há
23 > meio de o
24 > python conseguir importá-la.
25 >
26 > Vou no console do python, e digito import OpenGL, e não acha import
27 > OpenGL.GL e
28 > não acha, ja olhei na documentação o jeito certo de importar que é
29 > import OpenGL
30 > e depois from OpenGl.GL import * e não rola ele nem chega a encontrar o
31 > módulo
32 > OpenGL.
33 >
34 > E está tudo aparentemente instalado certo até o PyGame está!
35 >
36 > Abs
37 >
38 >
39 >
40 >
41
42
43 --
44
45 how much i think, how much i observe, how much i cry
46
47
48 humans act like idiots and need die

Replies

Subject Author
Res: [gentoo-user-br] Python não acha lib PyOpenGL Raphael MD <raphamejias@×××××××××.br>