Ok !
I install gelato from nvidia , and python2.5.1 now
I need to install this modules with python 2.5.1
First
The gelato module from python is on :
/opt/nvidia/gelato-2.2R1# ls
bin  etc       gel.py        include  lib    shaders
doc  examples  greencyl.tif  inputs   mango  textures
/opt/nvidia/gelato-2.2R1/lib
bin               iff.imageio.so  libgsoargs.a         OpenEXR.imageio.so
dds.imageio.so    iv.imageio.so   libpython2.5.so      pic.imageio.so
DevIL.imageio.so  jpg.imageio.so  libpython2.5.so.1.0  png.imageio.so
gelato.py         lib             libvecmat.a          ppm.imageio.so
gelato.pyc        libCgGL.so      maya.imageio.so      pyg.generator.so
_gelato.so        libCg.so        null.imageio.so      python2.5
hdr.imageio.so    libgelato.so    obj.generator.so     targa.imageio.so
python2.5 no have setup.py
Now the instalation python2.5.1
python setup.py install
...
changing mode of /usr/local/lib/python2.5/site-packages/pyglet/gl to
755
changing mode of /usr/local/lib/python2.5/site-packages/pyglet/font to
755
running install_scripts
changing mode of /usr/local/bin/pydoc to 755
changing mode of /usr/local/bin/smtpd.py to 755
changing mode of /usr/local/bin/idle to 755
running install_egg_info
Removing /usr/local/lib/python2.5/site-packages/Python-2.5.1-py2.5.egg-
info
Writing /usr/local/lib/python2.5/site-packages/Python-2.5.1-py2.5.egg-
info
terra:/home/thor/Fişiere descărcate/Python-2.5.1# python
Python 2.5.1 (r251:54863, Jun 30 2008, 10:30:15)
[GCC 4.3.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gelato
>>> import pyglet
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.5/site-packages/pyglet/__init__.py",
line 69, in <module>
    _require_ctypes_version('1.0.0')
  File "/usr/local/lib/python2.5/site-packages/pyglet/__init__.py",
line 64, in _require_ctypes_version
    import ctypes
  File "/usr/local/lib/python2.5/ctypes/__init__.py", line 10, in
<module>
    from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
>>> import sys
>>> print sys.path
['', '/opt/nvidia/gelato-2.2R1/lib', '/home/thor/Fi\xc5\x9fiere desc
\xc4\x83rcate/Python-2.5.1/\xef\xbb\xbf/opt/nvidia/gelato-2.2R1/lib',
'/', '/home/thor/Fi\xc5\x9fiere desc\xc4\x83rcate/Python-2.5.1', '/usr/
local/lib/python25.zip', '/usr/local/lib/python2.5', '/usr/local/lib/
python2.5/plat-linux2', '/usr/local/lib/python2.5/lib-tk', '/usr/local/
lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages']
>>>
In .bashrc i have (need for gelato )
export GELATOHOME="/opt/nvidia/gelato-2.2R1"
export PATH=$GELATOHOME/bin:$PATH
export PYTHONPATH="$GELATOHOME/lib:/$PYTHONPATH"
export LD_LIBRARY_PATH="$GELATOHOME/lib:$LD_LIBRARY_PATH"
This Fi\xc5\x9fiere desc\xc4\x83rcate is one folder where i put files
from download .
This \xef\xbb\xbf/opt/nvidia/gelato-2.2R1/lib' i don't ...

Thank you !


On Jul 3, 12:43 am, Richard Jones <[EMAIL PROTECTED]> wrote:
> On Thu, 3 Jul 2008, Gary Herron wrote:
> > John Lehmann wrote:
> > > Your python installation does not have the ctypes module installed
> > > correctly.  You would need to fix this up, in one way or another.  It
> > > is curious that this is not available by default.  Where does your
> > > python install come from?
>
> > The ctypes module was added to Python2.5.  The OP is probably running
> > Python2.4 (or worse).
>
> No, the OP's output clearly shows Python 2.5.1 as the version. The
> installation is broken.
>
>     Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to