I think it's nupic debugging now.

> My understanding from those is that I need to get and install a  _math
module, but haven't found a resource for it.

You don't install a _math module, it's automatically created by swig
bindings (if everything works properly).

Tom, can you try from scratch following the "developer's build"? That is no
pip, a clean virtualenv, pip install -r  externa/common/requirements.txt,
python setup.py build
python setup.py develop
..run tests?

Hope that get's us somewhere

On Wed, Mar 25, 2015 at 6:49 PM, thomas taylor <[email protected]>
wrote:

> Well, both. Yes, it's confusing. As I understand the logic train, nupic
> studio failed because I didn't have nupic installed, per David Ragazzi back
> on the 23rd. I installed nupic, got some error messages which were
> apparently fatal because nustudio still couldn't
> find nupic.research.spatial_pooler. Per Richard and Marek yesterday, I
> should run the various nupic tests to see what's going wrong.  Per yourself
> and Marek yesterday, in order to run the tests I needed to git clone nupic
> source and export NUPIC to that location.  I've now done that, run the
> tests and reported the error messages.  My understanding from those is that
> I need to get and install a  _math module, but haven't found a resource for
> it.
>
> On Wed, Mar 25, 2015 at 9:45 AM, Matthew Taylor <[email protected]> wrote:
>
>> I'm confused. At this point in the thread, are we debugging a failed
>> NuPIC installation or a failed NuPIC Studio installation?
>> ---------
>> Matt Taylor
>> OS Community Flag-Bearer
>> Numenta
>>
>>
>> On Wed, Mar 25, 2015 at 9:40 AM, thomas taylor <[email protected]>
>> wrote:
>> > well, no, it doesn't work.   But it looks like almost, because it had
>> > remarkably few complaints: prominent is that it can't find a module
>> called
>> > _math:
>> >
>> >     _math = swig_import_helper()
>> > nupic/bindings/math.py:20: in swig_import_helper
>> >
>> >     import _math
>> > E   ImportError: No module named _math
>> >
>> > Also, some issues with libcapnp
>> >
>> >     *WARNING* no libcapnp detected. Will download and build it from
>> source
>> > now. If you have C++ Cap'n Proto installed, it may be out of date or is
>> not
>> > being detected. Downloading and building libcapnp may take a while.
>> >
>> >     fetching https://capnproto.org/capnproto-c++-0.5.0.tar.gz into
>> >
>> /private/var/folders/5h/34rvjcbx6xg3dkzq6sq2jsvh0000gn/T/pip-build-xGFsyW/pycapnp/bundled
>> >
>> >     error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate
>> > verify failed (_ssl.c:581)>
>> >
>> >     ----------------------------------------
>> >
>> >     Command "/usr/local/opt/python/bin/python2.7 -c "import setuptools,
>> >
>> tokenize;__file__='/private/var/folders/5h/34rvjcbx6xg3dkzq6sq2jsvh0000gn/T/pip-build-xGFsyW/pycapnp/setup.py';exec(compile(getattr(tokenize,
>> > 'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
>> 'exec'))"
>> > install --record
>> >
>> /var/folders/5h/34rvjcbx6xg3dkzq6sq2jsvh0000gn/T/pip-3YbvL3-record/install-record.txt
>> > --single-version-externally-managed --compile" failed with error code 1
>> in
>> >
>> /private/var/folders/5h/34rvjcbx6xg3dkzq6sq2jsvh0000gn/T/pip-build-xGFsyW/pycapnp
>> >
>> >
>> > also a seemingly non-fatal pyplot error:
>> >
>> > Cannot import matplotlib. Plot class will not work.
>> >
>> > Traceback (most recent call last):
>> >
>> >   File "/Users/my_username/nupic/nupic/research/monitor_mixin/plot.py",
>> line
>> > 29, in <module>
>> >
>> >     import matplotlib.pyplot as plt
>> >
>> > ImportError: No module named matplotlib.pyplot
>> >
>> > So it looks like I need to find _math most of all, no luck with that so
>> far,
>> > and maybe libcapnp. Suggestions where to look?
>> >
>> > On Tue, Mar 24, 2015 at 10:46 AM, Marek Otahal <[email protected]>
>> wrote:
>> >>
>> >> > Tests currently can't be run from a "pip install" without having the
>> >> source code and setting $NUPIC.
>> >>
>> >> Ah, that's it. so you "git clone" nupic and export NUPIC to that
>> location,
>> >> as shown above.
>> >>
>> >> Does that work?
>> >>
>> >>
>> >> On Tue, Mar 24, 2015 at 6:40 PM, Matthew Taylor <[email protected]>
>> wrote:
>> >>>
>> >>> On Tue, Mar 24, 2015 at 10:36 AM, Marek Otahal <[email protected]>
>> >>> wrote:
>> >>> > @Matt: how does he execute tests from "pip install"-install? that
>> way,
>> >>> > the
>> >>> > $NUPIC is not known (easily, that is)
>> >>>
>> >>> Tests currently can't be run from a "pip install" without having the
>> >>> source code and setting $NUPIC.
>> >>>
>> >>> ---------
>> >>> Matt Taylor
>> >>> OS Community Flag-Bearer
>> >>> Numenta
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Marek Otahal :o)
>> >
>> >
>>
>>
>


-- 
Marek Otahal :o)

Reply via email to