Open tomleo opened 6 years ago
having the same issue
Traceback (most recent call last):
File "/usr/bin/scspell", line 9, in <module>
load_entry_point('scspell3k==2.1', 'console_scripts', 'scspell')()
File "/usr/lib/python2.7/site-packages/scspell/__init__.py", line 899, in main
set_dictionary(args.dictionary)
File "/usr/lib/python2.7/site-packages/scspell/__init__.py", line 648, in set_dictionary
config.write(f)
File "/usr/lib64/python2.7/ConfigParser.py", line 414, in write
fp.write("\n")
TypeError: must be unicode, not str
fixed here: https://github.com/giosad/scspell/tree/feature/config_parser_issue_py2 I just used the https://pypi.org/project/configparser/ and made minimal modifications to make the scspell to work with it.
I don't know to how to specify the dependency for pip for python 2 only through.