Jump to content

user90

Members
  • Gesamte Inhalte

    8
  • Benutzer seit

  • Letzter Besuch

Posts erstellt von user90

  1. Ich habe Python noch mal neu installiert.

     

    Nach der Installation hat sich die Fehlermeldung verändert:

     

    root@gnublin:~# /etc/init.d/brickd start
    Starting Brick Daemon: Traceback (most recent call last):
      File "/usr/share/brickd/brickd_linux.py", line 30, in <module>
        from usb_notifier import USBNotifier
      File "/usr/share/brickd/usb_notifier.py", line 25, in <module>
        from libusb import usb1
      File "/usr/share/brickd/libusb/usb1.py", line 52, in <module>
        import libusb1
      File "/usr/share/brickd/libusb/libusb1.py", line 32, in <module>
        from ctypes import Structure, \
      File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
        from _ctypes import Union, Structure, Array
    ImportError: /usr/lib/python2.6/lib-dynload/_ctypes.so: undefined symbol: PyUnicodeUCS4_FromEncodedObject

  2. Vielen Dank für deine Antwort.

     

    Bei mir ist Python 2.6.6 installiert:

     

    root@gnublin:~# python --version
    Python 2.6.6
    root@gnublin:~# python
    Python 2.6.6 (r266:84292, May 20 2011, 22:44:14) 
    [GCC 4.5.1] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import ctypes
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ImportError: No module named ctypes
    >>> 
    

     

    Aber ctypes wird nicht gefunden...

     

    Kann man das nach installieren?

     

    LG

  3. Hey, danke schon mal für die Antwort...

    Bei der Eingabe kommt eine Fehlermeldung auf. Es ist wohl nicht vorhanden...

     

    login as: root
    root@192.168.1.155's password:
    root@gnublin:~# python
    Python 2.6.6 (r266:84292, May 20 2011, 22:44:14)
    [GCC 4.5.1] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import ctypes
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ImportError: No module named ctypes
    >>>
    

     

    Des Weiteren habe ich gesehen, das Python 2 Mal vorkommt...

     

    Einmal Python und Python 2.6.. Ist das richtig so?

    Und wie kann man das Paket ctypes unter Debian installieren. Geladen und installiert habe ich es schon, wie ich muss ich das in Python aktivieren?

     

    LG

  4. root@gnublin:/# /etc/init.d/brickd start
    Starting Brick Daemon: Traceback (most recent call last):
      File "/usr/share/brickd/brickd_linux.py", line 30, in <module>
        from usb_notifier import USBNotifier
      File "/usr/share/brickd/usb_notifier.py", line 25, in <module>
        from libusb import usb1
      File "/usr/share/brickd/libusb/usb1.py", line 52, in <module>
        import libusb1
      File "/usr/share/brickd/libusb/libusb1.py", line 32, in <module>
        from ctypes import Structure, \
    ImportError: No module named ctypes
    
    

     

    Das ist die Meldung. Eigentlich die gleiche.

     

    Danke schon mal :)

     

    LG user90

×
×
  • Neu erstellen...