the warning comes from the fact that d_diffusion_sa term was renamed to d_sd_diffusion during a term clean-up recently, and a file called terms_acoustic.py was completely removed.
Your build log seems perfectly ok. The fact that you do not see the warning when working in-place suggests, that you have the old terms_acoustic.py somewhere in the system-wide site-packages (c:\users\default.default-pc\anaconda2\lib\site-packages\sfepy....) - try searching for that file and remove it.
On 05/20/2016 06:31 PM, David Brough wrote:
I don't get the warning after building in place, only after install. I haven't tried the tutorials, but I do get the warning after running this https://github.com/materialsinnovation/pymks/blob/master/pymks/datasets/elastic_FE_simulation.py simulation.
On Thursday, May 19, 2016 at 2:16:29 PM UTC-4, David Brough wrote:
Here is the log.
On Thursday, May 19, 2016 at 2:02:55 PM UTC-4, Robert Cimrman wrote:
OK - there could be a problem with the d_diffusion_sa term (it has been changed recently). Do the interactive examples work (like the one in the tutorial)? Do you get the same error when building in place?
Could you run
python setup.py clean, then
python setup.py install > build-log.txt 2>&1and then send me the build-log.txt?
Thanks for debugging! r.
On 05/19/2016 06:11 PM, David Brough wrote:
python setup.py clean
removed all of the sfepy installations in C:\Users\Default.Default-PC\Anaconda2\lib\site-packages\ , upgraded numpy to 0.10.4 ran the following
python setup.py install
I no longer get an error, but I get a warning.
Python 2.7.11 |Anaconda custom (64-bit)| (default, Feb 16 2016,
[MSC v.1500 64 bit (AMD64)] Type "copyright", "credits" or "license" for more information.
IPython 4.1.2 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details.
In : import sfepy
In : from sfepy import discrete sfepy: WARNING: module
cannot be imported! sfepy: reason: 'module' object has no attribute 'd_diffusion_sa'