Hi Robert

Running debug gave ImportError: No module named 'igakit' . I guess that solves that question. I tried both conda, pip and the regular Debian apt-get. None of them can find igakit. you seem to imply that having the module not installed is no big deal but I hate to have errors floating around it the system (perfectionist). Any suggestions as to how to obtain the module?

Thanks again
Gary R.

On Wednesday, March 22, 2017 at 12:55:29 PM UTC-7, Robert Cimrman wrote:
On 22.3.2017 19:34, Gary Roach wrote:
> Thank you for your reply Robert,
>
> I am using an anaconda3 setup. The directories are
> anaconda3/lib/python3.5/site-packages/sfepy. Under sfepy are two
> subdirectories /script and /tests. All if the individual tests are -
> obviously- in the tests directory. But the run_tests.py is in the script
> directory. I ran the run_test.py script from the script directory. All of
> the tests ran fine except for those two.

Well, the two tests depend on igakit and fail when it is not installed - is
that your case? Then the error should be

ImportError: No module named igakit.cad

If that is so, you can safely ignore the error (or try installing igakit).

> I think my original installation of sfepy was with pip.
> Does this help?

It is probably not important. So you run

./run_tests.py --debug tests/test_projections.py

from anaconda3/lib/python3.5/site-packages/sfepy/script? Then you should use
the correct path to the test:

./run_tests.py --debug ../tests/test_projections.py

Could you try that?

r.

> Gary R.
>
> On Tuesday, March 21, 2017 at 11:16:37 PM UTC-7, Robert Cimrman wrote:
>>
>> Hi Gary,
>>
>> were you running the command from the sfepy sources directory? Or do you
>> use
>> sfepy instaled by conda? The command you entered is meant for the first
>> case.
>>
>> In the second case, the test files are in something like
>> anaconda3/lib/python3.5/site-packages/sfepy/tests/, depending on your
>> anaconda
>> and python versions.
>>
>> r.
>>
>> On 22.3.2017 00:39, Gary Roach wrote:
>>> OS Debian Linux (Stretch)
>>> Setup: Anaconda3
>>>
>>> While testing the sfepy installation ( ./run_tests.py --debug
>>> tests/test_projections.py) the following two files errored out with
>>> "ImportError: No module named <test_projections >". as an example.
>>> The two files were:
>>>
>>>  test_projections.py and
>>>  test_input_navier_stokes2d_iga.py
>>>
>>> Not sure what is causing this. All of the other files passed.
>>>
>>> Gary R
>>>
>>
>>
>