From: Thiago Nunes <thiagonunesrs@gmail.com>
To: gentoo-user-br@lists.gentoo.org
Subject: Re: [gentoo-user-br] Python não acha lib PyOpenGL
Date: Thu, 8 Jul 2010 18:52:48 -0300 [thread overview]
Message-ID: <AANLkTiml-BUvXiixOhfAGXtQwDbzym16wCNcPXe_3x_s@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikoqn-HoA0vf-E77rTUga1p0R6540mLF3hBJoIf@mail.gmail.com>
Em 8 de julho de 2010 18:35, Dalton Barreto <daltonmatos@gmail.com> escreveu:
> Poste a saída desse comando:
>
> $ equery f pyopengl
Po, me atrazei, tava escrevendo isso e tu mandou a pergunta antes de mim. :P
Mas eu acho que é útil também um "eselect python list", para saber que
versão do pytohn está configurada.
Aqui por exemplo:
$ equery f pyopengl
...
/usr/lib/python2.6/site-packages/OpenGL
...
$ eselect python list
Available Python interpreters:
[1] python2.3
[2] python2.6 *
[3] python3.1
$ python
Python 2.6.5 (release26-maint, Jun 26 2010, 13:35:52)
[GCC 4.4.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenGL
>>> from OpenGL.GL import *
>>> from OpenGL.GLU import *
>>>
Teste:
# eselect python set 3
# eselect python list
Available Python interpreters:
[1] python2.3
[2] python2.6
[3] python3.1 *
# python
Python 3.1.2 (release31-maint, Jun 26 2010, 12:13:10)
[GCC 4.4.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenGL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named OpenGL
>>>
Por isso cola o "eselect python list" aí pra gente ver o que está acontecendo.
[]s
--
thiago
next prev parent reply other threads:[~2010-07-08 21:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-08 3:08 [gentoo-user-br] Python não acha lib PyOpenGL Raphael MD
2010-07-08 3:36 ` Zhu Sha Zang
2010-07-08 19:11 ` Res: " Raphael MD
2010-07-08 21:35 ` Dalton Barreto
2010-07-08 21:52 ` Thiago Nunes [this message]
2010-07-08 22:18 ` Res: " Raphael MD
2010-07-08 23:45 ` Thiago Nunes
2010-07-09 1:02 ` Res: " Raphael MD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTiml-BUvXiixOhfAGXtQwDbzym16wCNcPXe_3x_s@mail.gmail.com \
--to=thiagonunesrs@gmail.com \
--cc=gentoo-user-br@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox