FS#55727 - [blender] Should depend on python-numpy

Attached to Project: Community Packages
Opened by mark r (io7m) - Sunday, 24 September 2017, 10:25 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 25 September 2017, 16:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The recent update to Blender 2.79 seems to have become broken with
respect to the included A.N.T Landscape addon. The addon depends on
code provided by the python-numpy package, whereas previous versions
appear to have worked without it (or possibly on the old python2-numpy
package, I'm not sure).

I believe the current blender package should specify a dependency on
python-numpy.

Additional info:

None.


Steps to reproduce:

1. Make sure that python-numpy is not installed.
2. Open Blender.
3. Open the user preferences.
4. Go to the Add-ons tab.
5. Type "land" into the search bar to find the A.N.T Landscape addon.
6. Enable it.
7. Observe the stacktrace:

Traceback (most recent call last):
File "/usr/share/blender/2.79/scripts/modules/addon_utils.py", line 331, in enable
mod = __import__(module_name)
File "/usr/share/blender/2.79/scripts/addons/ant_landscape/__init__.py", line 42, in <module>
from ant_landscape import add_mesh_ant_landscape
File "/usr/share/blender/2.79/scripts/addons/ant_landscape/add_mesh_ant_landscape.py", line 33, in <module>
from .ant_functions import (
File "/usr/share/blender/2.79/scripts/addons/ant_landscape/ant_functions.py", line 769, in <module>
from .eroder import Grid
File "/usr/share/blender/2.79/scripts/addons/ant_landscape/eroder.py", line 29, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'

This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 25 September 2017, 16:43 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 25 September 2017, 16:43 GMT
Ok.

Loading...