|
#1
|
|||
|
|
|||
|
Hi there,
I have gotten after a reinstall of my system some weird behaviour with apps written in Python. When I try starting them I get the following error message: Code:
user:/opt/stopwatch# ./stopwatch.py
Traceback (most recent call last):
File "./stopwatch.py", line 32, in <module>
from pygame import mixer
File "/usr/lib/python2.5/site-packages/pygame/__init__.py", line 254, in <module>
try: import pygame.sndarray
File "/usr/lib/python2.5/site-packages/pygame/sndarray.py", line 66, in <module>
import pygame._numpysndarray as numpysnd
File "/usr/lib/python2.5/site-packages/pygame/_numpysndarray.py", line 38, in <module>
import numpy
File "/usr/lib/python2.5/site-packages/numpy/__init__.py", line 132, in <module>
import add_newdocs
File "/usr/lib/python2.5/site-packages/numpy/add_newdocs.py", line 9, in <module>
from lib import add_newdoc
File "/usr/lib/python2.5/site-packages/numpy/lib/__init__.py", line 13, in <module>
from polynomial import *
File "/usr/lib/python2.5/site-packages/numpy/lib/polynomial.py", line 11, in <module>
import numpy.core.numeric as NX
AttributeError: 'module' object has no attribute 'core'
I tried an "apt-get --reinstall install python2.5" but after doing so same error message just pops up. I also just installed for the sake of maybe faulty code in stopwatch the vuvuzela app and there it looks like the same error message. So I am a bit clueless... Btw, here is the output of "dpkg - l | grep python" in case it is needed Code:
root:~# dpkg -l | grep python ii hildon-desktop-python-loader 0.1.0-1maemo3 Hildon Desktop Python Plugin Loader ii python 2.5.2-3maemo4 An interactive high-level object-oriented language (default version) ii python-beautifulsoup 3.0.7-0maemo2 error-tolerant HTML parser for Python ii python-cairo 1.4.12-1.2maemo2 Python bindings for the Cairo vector graphics library ii python-central 0.6.11.1maemo2 register and build utility for Python packages ii python-dbus 0.83.0-1maemo3 simple interprocess messaging system (Python interface) ii python-gconf 2.26.1-1maemo1 Python bindings for the GConf configuration database system ii python-gobject 2.16.1-1maemo2 Python bindings for the GObject library ii python-gst0.10 0.10.14-2maemo5 generic media-playing framework (Python bindings) ii python-gtk2 2.12.1-6maemo10 Python bindings for the GTK+ widget set ii python-hildon 0.9.0-1maemo17 Python bindings for Hildon Framework. ii python-hildondesktop 0.1.0-1maemo3 Python bindings for libhildondesktop ii python-minimal 2.5.2-3maemo4 A minimal subset of the Python language (default version) ii python-notify 0.1.1-2maemo1 Python bindings for libnotify ii python-numeric 24.2-9maemo4 Numerical (matrix-oriented) Mathematics for Python ii python-numpy 1:1.4.0-1maemo2 Numerical Python adds a fast array facility to the Python language ii python-osso 0.4-0maemo5 Python bindings for libosso library ii python-pygame 1.9.1release-0maemo1 SDL bindings for games development in Python ii python-support 1.0.6maemo1 automated rebuilding support for Python modules ii python2.5 2.5.4-1maemo6 An interactive high-level object-oriented language (version 2.5) ii python2.5-minimal 2.5.4-1maemo6 A minimal subset of the Python language (version 2.5) ii python2.5-qt4-common 4.7.4-maemo0 Shared files for PyQt4 ii python2.5-qt4-core 4.7.4-maemo0 Python bindings for Qt4 Core components. ii python2.5-qt4-dbus 4.7.4-maemo0 Python bindings for Qt dbus mainloop. ii python2.5-qt4-gui 4.7.4-maemo0 Python bindings for Qt4 Core components. ii python2.5-qt4-maemo5 4.7.4-maemo0 Python bindings for Qt4 Core components. ii python2.5-sip4 4.10.5-maemo0 Python/C++ bindings generator runtime library. Cheers, mikki-kun
__________________
Nothing is true, everything is permitted - Ezio Auditore da Firenze, Assassin's Creed 2 In the end, there will be only chaos! - Kratos, God of War 3 Last edited by mikki-kun; 2010-09-17 at 10:11. Reason: Solved problems |
|
#2
|
|||
|
|||
|
|
| The Following User Says Thank You to sake For This Useful Post: | ||
|
#3
|
|||
|
|
|||
|
Thanks, that resolved the problem! I was already thinking I only had this problem, but luckily there was a solution
![]() mikki-kun
__________________
Nothing is true, everything is permitted - Ezio Auditore da Firenze, Assassin's Creed 2 In the end, there will be only chaos! - Kratos, God of War 3 |
![]() |
|
|