Hi Matt,

> #warning "Using deprecated NumPy API, disable it by #defining
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"

I dont know about the error, but the numpy warning is not the cause (we all
get it, just dont know how to silence it :) )

Best regards,
Mark


On Fri, Apr 25, 2014 at 7:24 PM, Roos, Matthew J.
<[email protected]>wrote:

> I’m still trying to get things installed and having python problems.  I
> installed Anaconda but have not used it previously.
>  The C++ tests run okay.  When trying to run they python tests I get
> errors:
>
> bash-3.2$ make tests_pyhtm
> [100%] Basic tests in Python
> Creating network...
> Region count is 0
> Adding a PyNode region...
> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> ImportError: No module named site
> make[3]: *** [CMakeFiles/tests_pyhtm] Error 1
> make[2]: *** [CMakeFiles/tests_pyhtm.dir/all] Error 2
> make[1]: *** [CMakeFiles/tests_pyhtm.dir/rule] Error 2
> make: *** [tests_pyhtm] Error 2
>
>
> When building the code I get the following warning and don’t know if I
> should be concerned, if it’s related to the python test failure, etc.:
>
> In file included from
> /Users/roosmj1/Code/nupic/build/temp/py/bindings/algorithms/algorithms_pyPYTHON_wrap.cxx:3777:
> In file included from
> /Applications/anaconda/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:15:
> In file included from
> /Applications/anaconda/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17:
> In file included from
> /Applications/anaconda/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728:
> /Applications/anaconda/lib/python2.7/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2:
> warning: "Using deprecated NumPy API, disable it by #defining
> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
> #warning "Using deprecated NumPy API, disable it by #defining
> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
>
>
> A file npy_deprecated_api.h has the lines below.  Why would _WIN32 be
> defined?
>
>
> #if defined(_WIN32)
>
> #define _WARN___STR2__(x) #x
>
> #define _WARN___STR1__(x) _WARN___STR2__(x)
>
> #define _WARN___LOC__ __FILE__ "(" _WARN___STR1__(__LINE__) ") : Warning
> Msg: "
>
> #pragma message(_WARN___LOC__"Using deprecated NumPy API, disable it by "\
>
>                          "#defining NPY_NO_DEPRECATED_API
> NPY_1_7_API_VERSION")
>
> Thoughts?  Thanks.
> Matt
>
>
> _______________________________________________
> 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

Reply via email to