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/ Fix: Update NumPy to 1.8.1 and try games/krank or other port which use NumPy How-To-Repeat: Try to use some port which need NumPy.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-python Over to maintainer (via the GNATS Auto Assign Tool)
Have ported games/robocalypto which not works because broken NumPy get only this: robocalypto /usr/local/bin/robocalypto: Cannot fork: Resource temporarily unavailable Traceback (most recent call last): File "./run_game.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/ Traceback (most recent call last): File "./run_game.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/ Traceback (most recent call last): File "./run_game.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/ Pyggel is needed for many Games, which I wish to port. Please fix soon than possible NumPy. -- Best regards, Rusmir Dusko
Could you check if the work around from ports/188114 helps in you case? Try: LD_LIBRARY_PATH=/usr/local/lib/gcc47 robocalypto You might need to change the version of gcc according to the installed on you computer, or even find out a correct directory for clang... -- Vladimir Chukharev
On Tue, 08 Apr 2014 10:11:12 +0300 "Vladimir Chukharev" <Vladimir.Chukharev@tut.fi> wrote: > Could you check if the work around from ports/188114 helps in you case? > Try: > > LD_LIBRARY_PATH=/usr/local/lib/gcc47 robocalypto > > You might need to change the version of gcc according to the installed on you computer, > or even find out a correct directory for clang... > Yes this works thanks. This is GCC library PATH issue. -- Best regards, Rusmir Dusko
The proposed work-around with LD_LIBRARY_PATH has been used to fix the port french/eficas: it works! -- Th. Thomas.
This PR can be closed as a duplicate of bug 188114. The originator confirmed that the proposed work-around solved the problem for him, and all the important information is present in bug 188114.
Thank you Vladimir *** This bug has been marked as a duplicate of bug 188114 ***