Trying to install module chat, but i get another error as below, please show me how to fix it.
Thank you very much
frappe@scm-u-sky:~/frappe-bench$ pip install chat
Collecting chat
Using cached chat-1.0.5.dev80.tar.gz
Requirement already satisfied: pbr==3.1.1 in /usr/local/lib/python2.7/dist-packages (from chat)
Requirement already satisfied: jieba==0.38 in /usr/local/lib/python2.7/dist-packages (from chat)
Requirement already satisfied: numpy==1.12.1 in /usr/local/lib/python2.7/dist-packages (from chat)
Requirement already satisfied: py2neo==3.1.2 in /usr/local/lib/python2.7/dist-packages (from chat)
Requirement already satisfied: requests==2.12.1 in /usr/local/lib/python2.7/dist-packages (from chat)
Requirement already satisfied: xlrd==1.0.0 in /usr/local/lib/python2.7/dist-packages (from chat)
Requirement already satisfied: xlwt==1.2.0 in /usr/local/lib/python2.7/dist-packages (from chat)
Requirement already satisfied: pypinyin==0.22.0 in /usr/local/lib/python2.7/dist-packages (from chat)
Requirement already satisfied: enum34; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from pypinyin==0.22.0->chat)
Building wheels for collected packages: chat
Running setup.py bdist_wheel for chat ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5asEUh/chat/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpyuyKsapip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/chat
copying chat/tts.py -> build/lib.linux-x86_64-2.7/chat
copying chat/qa.py -> build/lib.linux-x86_64-2.7/chat
copying chat/server.py -> build/lib.linux-x86_64-2.7/chat
copying chat/__init__.py -> build/lib.linux-x86_64-2.7/chat
copying chat/upload.py -> build/lib.linux-x86_64-2.7/chat
copying chat/download.py -> build/lib.linux-x86_64-2.7/chat
copying chat/testcase.py -> build/lib.linux-x86_64-2.7/chat
copying chat/semantic.py -> build/lib.linux-x86_64-2.7/chat
copying chat/api.py -> build/lib.linux-x86_64-2.7/chat
copying chat/word2pinyin.py -> build/lib.linux-x86_64-2.7/chat
copying chat/database.py -> build/lib.linux-x86_64-2.7/chat
copying chat/kg.py -> build/lib.linux-x86_64-2.7/chat
copying chat/client.py -> build/lib.linux-x86_64-2.7/chat
copying chat/qa_no_scenes.py -> build/lib.linux-x86_64-2.7/chat
copying chat/mytools.py -> build/lib.linux-x86_64-2.7/chat
running egg_info
writing requirements to chat.egg-info/requires.txt
writing chat.egg-info/PKG-INFO
writing top-level names to chat.egg-info/top_level.txt
writing dependency_links to chat.egg-info/dependency_links.txt
[pbr] Reusing existing SOURCES.txt
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-5asEUh/chat/setup.py", line 6, in <module>
setuptools.setup(setup_requires=['pbr'], pbr=True)
File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/dist-packages/wheel/bdist_wheel.py", line 204, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 53, in run
self.build_package_data()
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 118, in build_package_data
for package, src_dir, build_dir, filenames in self.data_files:
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 66, in __getattr__
self.data_files = self._get_data_files()
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 82, in _get_data_files
self.analyze_manifest()
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 138, in analyze_manifest
self.run_command('egg_info')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 278, in run
self.find_sources()
File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 517, in find_sources
for entry in open(manifest_filename, 'r').read().split('\n'):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 5935: ordinal not in range(128)
----------------------------------------
Failed building wheel for chat
Running setup.py clean for chat
Failed to build chat
Installing collected packages: chat
Running setup.py install for chat ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5asEUh/chat/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-__pCW9-record/install-record.txt --single-version-externally-managed --compile:
running install
[pbr] Generating AUTHORS
[pbr] AUTHORS complete (0.0s)
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/chat
copying chat/tts.py -> build/lib.linux-x86_64-2.7/chat
copying chat/qa.py -> build/lib.linux-x86_64-2.7/chat
copying chat/server.py -> build/lib.linux-x86_64-2.7/chat
copying chat/__init__.py -> build/lib.linux-x86_64-2.7/chat
copying chat/upload.py -> build/lib.linux-x86_64-2.7/chat
copying chat/download.py -> build/lib.linux-x86_64-2.7/chat
copying chat/testcase.py -> build/lib.linux-x86_64-2.7/chat
copying chat/semantic.py -> build/lib.linux-x86_64-2.7/chat
copying chat/api.py -> build/lib.linux-x86_64-2.7/chat
copying chat/word2pinyin.py -> build/lib.linux-x86_64-2.7/chat
copying chat/database.py -> build/lib.linux-x86_64-2.7/chat
copying chat/kg.py -> build/lib.linux-x86_64-2.7/chat
copying chat/client.py -> build/lib.linux-x86_64-2.7/chat
copying chat/qa_no_scenes.py -> build/lib.linux-x86_64-2.7/chat
copying chat/mytools.py -> build/lib.linux-x86_64-2.7/chat
running egg_info
writing requirements to chat.egg-info/requires.txt
writing chat.egg-info/PKG-INFO
writing top-level names to chat.egg-info/top_level.txt
writing dependency_links to chat.egg-info/dependency_links.txt
[pbr] Reusing existing SOURCES.txt
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-5asEUh/chat/setup.py", line 6, in <module>
setuptools.setup(setup_requires=['pbr'], pbr=True)
File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 200, in run
return du_install.install.run(self)
File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 53, in run
self.build_package_data()
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 118, in build_package_data
for package, src_dir, build_dir, filenames in self.data_files:
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 66, in __getattr__
self.data_files = self._get_data_files()
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 82, in _get_data_files
self.analyze_manifest()
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 138, in analyze_manifest
self.run_command('egg_info')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 278, in run
self.find_sources()
File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 517, in find_sources
for entry in open(manifest_filename, 'r').read().split('\n'):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 5935: ordinal not in range(128)
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5asEUh/chat/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-__pCW9-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-5asEUh/chat/