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