Thanks. I successfully installed pytest and ran make tests_run again. Then
I got this error

ERROR: `pytest-xdist` is not installed.

I took this to mean that my python requirements aren't installed so I did pip
install -r external/common/requirements.txt

Then I got this error:

clang: error: unknown argument: '-mno-fused-madd'
[-Wunused-command-line-argument-hard-error-in-future]


clang: note: this will be a hard error (cannot be downgraded to a warning)
in the future


error: command 'cc' failed with exit status 1


I googled around  and it seems to be a problem with the xcode 5.1 compiler.
I tried the solution at this page here (
http://mygeekdaddy.net/2014/03/19/quick-fix-to-pip-install-error/) and also
tried adding these two lines to my .bashrc to no avail.

export CFLAGS=-Qunused-arguments

export CPPFLAGS=-Qunused-arguments

Any idea how to resolve this problem?

thanks


On Sat, May 24, 2014 at 5:40 PM, Marek Otahal <[email protected]> wrote:

> (re)install pytest with pip
>
>
> On Sat, May 24, 2014 at 10:58 PM, Mika Schiller <[email protected]>wrote:
>
>> Hi,
>>
>> My first three tests passed just fine, but the OPF test results in the
>> following error:
>>
>> Traceback (most recent call last):
>>
>>   File
>> "/Users/mikaschiller/Desktop/Python_Practice_Code/Learn_Python_the_Hard_Way/projects/skeleton/nodemotiondev/nupic//build/release/bin/run_tests.py",
>> line 32, in <module>
>>
>>     import pytest
>>
>> ImportError: No module named pytest
>>
>> make[3]: *** [CMakeFiles/tests_run] Error 1
>>
>> make[2]: *** [CMakeFiles/tests_run.dir/all] Error 2
>>
>> make[1]: *** [CMakeFiles/tests_run.dir/rule] Error 2
>>
>> make: *** [tests_run] Error 2
>>
>>
>> Is this a bug in the nupic code? Not sure why pytest module is non
>> existent. Please advise.
>>
>>
>> Thanks
>>
>> Mika
>>
>> _______________________________________________
>> nupic mailing list
>> [email protected]
>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>
>>
>
>
> --
> Marek Otahal :o)
>
> _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>
>
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to