ports/188327: [numpy] math/py-numpy: Numpy is broken

nemysis nemysis at FreeBSD.org
Sun Apr 6 20:30:01 UTC 2014


>Number:         188327
>Category:       ports
>Synopsis:       [numpy] math/py-numpy: Numpy is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 06 20:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 10.0-RELEASE-p4
>Organization:
>Environment:
FreeBSD 10.0-RELEASE-p4 FreeBSD 10.0-RELEASE-p4 #0: Tue Jan 14 20:48:07 UTC 2014
>Description:
NumPy not works, have it reinstalled more times with and without ATLAS option.

This say is working:

python -c "import numpy; print numpy"
<module 'numpy' from '/usr/local/lib/python2.7/site-packages/numpy/__init__.pyc'>


But when I try to use my port games/krank get

krank
krank version 07
/usr/local/share/krank/src/Effect.py:25: RuntimeWarning: use surfarray: no module named numpy or Numeric found
(ImportError: no module named numpy or Numeric found)
  array = pygame.surfarray.pixels_alpha(self.sparkImages[-1])
Traceback (most recent call last):
  File "/usr/local/share/krank/src/Main.py", line 83, in <module>
    Effects()
  File "/usr/local/share/krank/src/Effect.py", line 25, in __init__
    array = pygame.surfarray.pixels_alpha(self.sparkImages[-1])
  File "/usr/local/lib/python2.7/site-packages/pygame/__init__.py", line 70, in __getattr__
    raise NotImplementedError(MissingPygameModule)
NotImplementedError: surfarray module not available
(ImportError: no module named numpy or Numeric found


When i try to use my new port graphics/pyggel

/usr/local/share/examples/pyggel/ > python example1-speed.py         
Traceback (most recent call last):
  File "example1-speed.py", line 7, in <module>
    import pyggel
  File "/usr/local/lib/python2.7/site-packages/pyggel/__init__.py", line 7, in <module>
    from include import *
  File "/usr/local/lib/python2.7/site-packages/pyggel/include.py", line 21, in <module>
    raise MissingModule("Numpy - you can it from: http://sourceforge.net/projects/numpy/files/")
pyggel.include.MissingModule: Numpy - you can it from: http://sourceforge.net/projects/numpy/files/


Please solve this and update to newest Version at

http://sourceforge.net/projects/numpy/files/NumPy/1.8.1/

>How-To-Repeat:
Try to use some port which need NumPy.
>Fix:
Update NumPy to 1.8.1 and try games/krank or other port which use NumPy

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list