Hi,
Ich versuche momentan, Bindings auf meinem Raspbian zu installieren...
Der Befehl "sudo easy_install xxx.egg" löst folgenden Fehler aus:
Traceback (most recent call last):
File "/usr/local/bin/easy_install", line 9, in <module>
load_entry_point('distribute', 'console_scripts', 'easy_install')()
File "/usr/local/lib/python2.7/dist-packages/http://setuptools-5.0.2-py2.7.egg/pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/http://setuptools-5.0.2-py2.7.egg/pkg_resources.py", line 2438, in load_entry_point
raise ImportError("Entry point %r not found" % ((group, name),))
ImportError: Entry point ('console_scripts', 'easy_install') not found
Folgendes ist installiert:
ii idle 2.7.3-4+deb7u1 all IDE for Python using Tkinter (default version)
ii idle-python2.7 2.7.3-6+deb7u2 all IDE for Python (v2.7) using Tkinter
ii idle-python3.2 3.2.3-7 all IDE for Python (v3.2) using Tkinter
ii idle3 3.2.3-6 all IDE for Python using Tkinter (default version)
ii libpython2.7 2.7.3-6+deb7u2 armhf Shared Python runtime library (version 2.7)
ii pypy-setuptools 1.1.6-1 armhf Easily download, build, install, upgrade, and uninstall Python packages
ii pypy-upstream-doc 2.2.1-5 all developer Documentation for PyPy (an alternative Python interpreter)
ii python 2.7.3-4+deb7u1 all interactive high-level object-oriented language (default version)
ii python-dbus 1.1.1-1 armhf simple interprocess messaging system (Python interface)
ii python-dbus-dev 1.1.1-1 all main loop integration development files for python-dbus
ii python-dev 2.7.3-4+deb7u1 all header files and a static library for Python (default)
ii python-gi 3.2.2-2 armhf Python 2.x bindings for gobject-introspection libraries
ii python-minimal 2.7.3-4+deb7u1 all minimal subset of the Python language (default version)
ii python-numpy 1:1.6.2-1.2 armhf Numerical Python adds a fast array facility to the Python language
ii python-opengl 3.0.1-1 all Python bindings to OpenGL
ii python-pifacecommon 4.0.0-1 all The PiFace common functions module.
ii python-pifacedigitalio 3.0.4-1 all The PiFace Digital I/O module.
ii python-pip 1.1-3 all alternative Python package installer
ii python-pkg-resources 0.6.24-1 all Package Discovery and Resource Access using pkg_resources
ii python-pygame 1.9.1release+dfsg-8 armhf SDL bindings for games development in Python
ii python-qt4 4.9.3-4 armhf Python bindings for Qt4
ii python-qt4-gl 4.9.3-4 armhf Python bindings for Qt4's OpenGL module
ii python-qwt5-qt4 5.2.1~cvs20091107+dfsg-6+b1 armhf Python version of the Qwt5 technical widget library
ii python-rpi.gpio 0.5.5-1 armhf Python GPIO module for Raspberry Pi
ii python-serial 2.5-2.1 all pyserial - module encapsulating access for the serial port
ii python-setuptools 0.6.24-1 all Python Distutils Enhancements (setuptools compatibility)
ii python-sip 4.13.3-2 armhf Python/C++ bindings generator runtime library
ii python-support 1.0.15 all automated rebuilding support for Python modules
ii python-tk 2.7.3-1 armhf Tkinter - Writing Tk applications with Python
ii python2.6 2.6.8-1.1 armhf Interactive high-level object-oriented language (version 2.6)
ii python2.6-minimal 2.6.8-1.1 armhf Minimal subset of the Python language (version 2.6)
ii python2.7 2.7.3-6+deb7u2 armhf Interactive high-level object-oriented language (version 2.7)
ii python2.7-dev 2.7.3-6+deb7u2 armhf Header files and a static library for Python (v2.7)
ii python2.7-minimal 2.7.3-6+deb7u2 armhf Minimal subset of the Python language (version 2.7)
ii python3 3.2.3-6 all interactive high-level object-oriented language (default python3 version)
ii python3-minimal 3.2.3-6 all minimal subset of the Python language (default python3 version)
ii python3-numpy 1:1.6.2-1.2 armhf Numerical Python adds a fast array facility to the Python language
ii python3-pifacecommon 4.0.0-1 all The PiFace common functions module.
ii python3-pifacedigital-scratch-handler 2.0.5-1 all The PiFace Digital Scratch Handler.
ii python3-pifacedigitalio 3.0.4-1 all The PiFace Digital I/O module.
ii python3-rpi.gpio 0.5.5-1 armhf Python 3 GPIO module for Raspberry Pi
ii python3-tk 3.2.3-1 armhf Tkinter - Writing Tk applications with Python 3.x
ii python3.2 3.2.3-7 armhf Interactive high-level object-oriented language (version 3.2)
ii python3.2-minimal 3.2.3-7 armhf Minimal subset of the Python language (version 3.2)
Alles anzeigen
Und bei der Aktualisierung der Python-Dist erhalte ich folgenden Hinweis:
Running distribute-0.7.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-mp8O4p/distribute-0.7.3/egg-dist-tmp-GMzfje
warning: install_lib: 'build/lib.linux-armv6l-2.7' does not exist -- no Python modules to install
Ich kann also nicht per easy_install das egg installieren und somit fehlen die Bindings...
Liegt das Problem an den verschiedenen Python-Versionen ?
Bei der Installation von Python vor einigen Tagen per...
"sudo apt-get install python python-qt4 python-qt4-gl python-qwt5-qt4 python-opengl python-serial" blieb apt-get install hängen, hinterher bei erneutem Aufruf jedoch wurde bestätigt, es sei alles auf dem neuesten Stand. Ist ggf. ein apt-get remove --purge der Pakete mit anschließendem Inntal ratsam ?
Kann mir jemand dabei helfen ?