I got this message when I try to run
python $NUPIC/scripts/run_unit_tests.py-u
Traceback (most recent call last):
File "/home/rob/.local/bin/py.test", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in
<module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 444, in
_build_master
ws.require(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 633, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2291, in
requires
dm = self._dep_map
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2484, in
_dep_map
self.__dep_map = self._compute_dependencies()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2501, in
_compute_dependencies
from _markerlib import compile as compile_marker
ImportError: No module named _markerlibSent from my Samsung Galaxy Note III -
powered by Three
-------- Original message --------
From: robert bartley <[email protected]>
Date: 06/03/2016 07:01 (GMT+00:00)
To: 0000000000 <[email protected]>
Subject: RE: Installation help
Hello Richard this is the message I got
Traceback (most recent call last):
File "/home/rob/.local/bin/py.test", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in
<module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 444, in
_build_master
ws.require(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 633, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2291, in
requires
dm = self._dep_map
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2484, in
_dep_map
self.__dep_map = self._compute_dependencies()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2501, in
_compute_dependencies
from _markerlib import compile as compile_marker
ImportError: No module named _markerlib
Date: Sat, 5 Mar 2016 23:43:32 +0000
Subject: Re: Installation help
From: [email protected]
To: [email protected]
Thank you Robert. That is perfect! It shows you are running the most recent
version of setuptools (20.2.2) which has some big changes to markerlib.
Can you try the following in a bash window, to check your install of nupic is
correct?
cd $NUPIC
py.test tests/unit
Further information on running NuPIC unit testing can be seen here;
https://github.com/numenta/nupic#test
Regards, Richard.
On Sat, Mar 5, 2016 at 8:46 PM, robert bartley <[email protected]>
wrote:
I hope this is the information that you require.
adium-theme-ubuntu (0.3.4)
apipkg (1.4)
apt-xapian-index (0.45)
asteval (0.9.1)
chardet (2.0.1)
command-not-found (0.3)
cov-core (1.15.0)
coverage (3.7.1)
DBUtils (1.1)
debtagshw (0.1)
defer (1.0.6)
dirspec (13.10)
duplicity (0.6.23)
execnet (1.4.1)
httplib2 (0.8)
lockfile (0.8)
lxml (3.3.3)
mock (1.0.1)
numpy (1.9.2)
nupic (0.5.1.dev0)
nupic.bindings (0.4.1.dev0)
oauthlib (0.6.1)
oneconf (0.3.7.14.4.1)
ordereddict (1.1)
PAM (0.4.2)
pexpect (3.1)
Pillow (2.3.0)
pip (8.0.3)
piston-mini-client (0.7.5)
prettytable (0.7.2)
psutil (1.0.1)
py (1.4.31)
pycapnp (0.5.7)
pycrypto (2.6.1)
pycups (1.9.66)
pygobject (3.12.0)
PyMySQL (0.6.2)
pyOpenSSL (0.13)
pyproj (1.9.3)
pyserial (2.6)
pysmbc (1.0.14.1)
pytest (2.5.1)
pytest-cov (1.6)
pytest-xdist (1.8)
python-apt (0.9.3.5ubuntu2)
python-dateutil (2.1)
python-debian (0.1.21-nmu2ubuntu2)
pyxdg (0.25)
PyYAML (3.10)
reportlab (3.0)
requests (2.2.1)
sessioninstaller (0.0.0)
setuptools (20.2.2)
six (1.5.2)
software-center-aptd-plugins (0.0.0)
system-service (0.1.6)
Twisted-Core (13.2.0)
Twisted-Web (13.2.0)
unittest2 (0.5.1)
unity-lens-photos (1.0)
urllib3 (1.7.1)
validictory (0.9.1)
wheel (0.29.0)
xdiagnose (3.6.3build2)
zope.interface (4.0.5)
Date: Sat, 5 Mar 2016 09:43:53 +0000
Subject: Re: Installation help
From: [email protected]
To: [email protected]
Hi Robert,
Could you start a bash command window and run 'pip list'. Then copy and paste
the output into a reply so we can see what version of packages you have
installed with Python. Or just let us know from that list what version of the
setuptools package you have installed?
The markerlib package has been part of setuptools for quite a few years now, so
it'd be great to find out which version you are using. There has been some very
recent changes with the markerlib side of setuptools that may be leading to
this import error [1].
Regards, Richard.
1 https://pythonhosted.org/setuptools/history.html
On Sat, Mar 5, 2016 at 7:08 AM, robert bartley <[email protected]>
wrote:
Hi I am new to python as well as other programming language. I have
followed your updated version guide step by step on how to install nupic on
Ubuntu
14.04. All went well until I got to
python $NUPIC/scripts/run_nupic_tests.py-uWhen running testI got an error
stating
from _markerlib import compile as compile_marker
ImportError: No module named _markerlib