View Single Post
Posts: 10 | Thanked: 5 times | Joined on Jul 2010
#47
Hi,

I got some errors, likely related to some other python package. I tried removing python-pygame and it did remove several programs, but it did not fix the issue. I reinstall papertoss along with python-pygame but nothing changed.The error log is:

Traceback (most recent call last):
File "/opt/papertoss/game.py", line 2, in <module>
import pygame, math, random,time
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'

What could I be missing? Thanks in advance