arq5x / poretools

a toolkit for working with Oxford nanopore data
MIT License
243 stars 89 forks source link

Syntax error while running Yeild plot #177

Closed preethib91 closed 10 months ago

preethib91 commented 5 years ago

After running this command : poretools yield_plot --plot-type reads test_data/ Traceback (most recent call last): File "/usr/local/bin/poretools", line 11, in load_entry_point('poretools==0.6.0', 'console_scripts', 'poretools')() File "/usr/local/lib/python2.7/dist-packages/poretools-0.6.0-py2.7.egg/poretools/poretools_main.py", line 538, in main args.func(parser, args) File "/usr/local/lib/python2.7/dist-packages/poretools-0.6.0-py2.7.egg/poretools/poretools_main.py", line 48, in run_subtool import yield_plot as submodule File "/usr/local/lib/python2.7/dist-packages/poretools-0.6.0-py2.7.egg/poretools/yield_plot.py", line 8, in import seaborn as sns File "/usr/local/lib/python2.7/dist-packages/seaborn-0.9.0-py2.7.egg/seaborn/init.py", line 6, in from .rcmod import File "/usr/local/lib/python2.7/dist-packages/seaborn-0.9.0-py2.7.egg/seaborn/rcmod.py", line 5, in from . import palettes, _orig_rc_params File "/usr/local/lib/python2.7/dist-packages/seaborn-0.9.0-py2.7.egg/seaborn/palettes.py", line 12, in from .utils import desaturate, set_hls_values, get_color_cycle File "/usr/local/lib/python2.7/dist-packages/seaborn-0.9.0-py2.7.egg/seaborn/utils.py", line 7, in from scipy import stats File "/usr/local/lib/python2.7/dist-packages/scipy-1.2.0-py2.7-linux-x86_64.egg/scipy/stats/init.py", line 367, in from .stats import File "/usr/local/lib/python2.7/dist-packages/scipy-1.2.0-py2.7-linux-x86_64.egg/scipy/stats/stats.py", line 173, in from . import distributions File "/usr/local/lib/python2.7/dist-packages/scipy-1.2.0-py2.7-linux-x86_64.egg/scipy/stats/distributions.py", line 13, in from . import _continuous_distns File "/usr/local/lib/python2.7/dist-packages/scipy-1.2.0-py2.7-linux-x86_64.egg/scipy/stats/_continuous_distns.py", line 3345 SyntaxError: Non-ASCII character '\xe2' in file /usr/local/lib/python2.7/dist-packages/scipy-1.2.0-py2.7-linux-x86_64.egg/scipy/stats/_continuous_distns.py on line 3346, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

I am getting above error. Kindly help me in rectifying the error.