python - Getting the following error: "EnvironmentError: Unable to find libfuse" -


i'm trying load test mqtt network on centos7 machine using this repositorie on github. executed following commands install python-mosquitto dependency.

# yum install python-pip # pip install mosquitto 

then built , installed setup.py file located in repository file:

# python setup.py build # python setup.py install 

when trying use package, error thrown:

# malaria publish -p 2 -n 100 -h localhost -s 10  

error:

# malaria publish -p 2 -n 100 -h localhost -s 10malaria publish -p 2 -n 100 -h localhost -s 10 traceback (most recent call last):   file "/usr/bin/malaria", line 5, in <module> pkg_resources.run_script('mqtt-malaria==0.1-77-g7ae4c97', 'malaria')   file "/usr/lib/python2.7/site-packages/pkg_resources.py", line 540, in run_script     self.require(requires)[0].run_script(script_name, ns)   file "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1455, in run_script     execfile(script_filename, namespace, namespace)   file "/usr/lib/python2.7/site-packages/mqtt_malaria-0.1_77_g7ae4c97-py2.7.egg/egg-info/scripts/malaria", line 30, in <module> import beem.main   file "/usr/lib/python2.7/site-packages/mqtt_malaria-0.1_77_g7ae4c97-py2.7.egg/beem/main.py", line 34, in <module> import beem.cmds   file "/usr/lib/python2.7/site-packages/mqtt_malaria-0.1_77_g7ae4c97-py2.7.egg/beem/cmds/__init__.py", line 2, in <module> import beem.cmds.subscribe   file "/usr/lib/python2.7/site-packages/mqtt_malaria-0.1_77_g7ae4c97-py2.7.egg/beem/cmds/subscribe.py", line 34, in <module> import beem.listen   file "/usr/lib/python2.7/site-packages/mqtt_malaria-0.1_77_g7ae4c97-py2.7.egg/beem/listen.py", line 40, in <module> import fuse   file "build/bdist.linux-x86_64/egg/fuse.py", line 69, in <module> environmenterror: unable find libfuse 

googling error didn't provide me answers. did wrong in install process? don't have experience usage/building of cloned github repositories.

the issues page on repository (the issue right before 1 linked to) mentions problem.

the solution, you've found install fusepy separately, either package manager or pip install fusepy.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -