Hi,
Here is what I got:
root@meharu-VirtualBox:/usr/local/bin# python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import taurus.engine
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/meharu/numenta-apps/taurus/taurus/engine/__init__.py", line
12, in <module>
distribution = get_distribution("taurus")
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 540,
in get_distribution
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 420,
in get_provider
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 941,
in require
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 828,
in resolve
pkg_resources.DistributionNotFound: The 'taurus' distribution was not found
and is required by the application
And the second question about PYTHONPATH, I'm not quite understand about the
question.
During the installation of nta.utils, and Taurus, etc. I just didn't specify
the --install-dir (because in read me said, if I don't specify it, system
default is used).
Best,
Vannroath
From: nupic [mailto:[email protected]] On Behalf Of Vitaly
Kruglikov
Sent: Wednesday, March 02, 2016 2:59 AM
To: Vannroath <[email protected]>
Subject: Re: numenta-apps: taurus installation issue
Hi Vannroath,
Can you try the following:
>From the same terminal window where you're getting this error
("pkg_resources.DistributionNotFound: The 'taurus' distribution was not
found and is required by the application"), start the python shell and
execute `import taurus.engine` (without the back-ticks) and email back to
the list what you get. My expectation is that if taurus is failing to load
when you run `taurus-create-db`, then it should also fail when you try to
import from python shell.
I am also wondering whether the installation directory where all of your
nta.utils, taurus, etc. installs went is in the PYTHONPATH environment
variable of the terminal where you're seeing the error.
Best,
Vitaly
Hi everyone,
I'm trying to install Taurus following the guide from
https://github.com/numenta/numenta-apps/tree/master/taurus
by installing nta.utils, then htmengine, then taurus.metric_collectors, and
finally install taurus.
According to the readme "With taurus installed, and configuration updated,
run taurus-create-db to initialize the database". However, when I tried to
run taurus-create-db, I faced the following error. Please advise if I missed
some steps, or miss any configurations.
Using /usr/local/lib/python2.7/dist-packages/apipkg-1.4-py2.7.egg
Finished processing dependencies for taurus.engine==0.4.0
/home/meharu/numenta-apps
root@meharu-VirtualBox:/home/meharu/numenta-apps# export
APPLICATION_CONFIG_PATH=/home/meharu/numenta-apps/taurus/conf-user/
root@meharu-VirtualBox:/home/meharu/numenta-apps# cd /usr/local/bin/
root@meharu-VirtualBox:/usr/local/bin# taurus-create-db
Traceback (most recent call last):
File "/usr/local/bin/taurus-create-db", line 9, in <module>
load_entry_point('taurus.engine', 'console_scripts',
'taurus-create-db')()
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 547, in
load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2720,
in load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2380,
in load
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2386,
in resolve
File "/home/meharu/numenta-apps/taurus/taurus/engine/__init__.py", line
12, in <module>
distribution = get_distribution("taurus")
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 540,
in get_distribution
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 420,
in get_provider
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 941,
in require
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 828,
in resolve
pkg_resources.DistributionNotFound: The 'taurus' distribution was not found
and is required by the application
root@meharu-VirtualBox:/usr/local/bin#
Regards,
Vannroath