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.