ikegami-yukino / mozcpy Goto Github PK
View Code? Open in Web Editor NEWMozc for Python: Kana-Kanji converter
License: Do What The F*ck You Want To Public License
Mozc for Python: Kana-Kanji converter
License: Do What The F*ck You Want To Public License
I got this error when installing mozcpy:
python setup.py egg_info did not run successfully.
β exit code: 1
β°β> [8 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-vgfh7wgc/mozcpy_41adbd3297a04ce9bfde91c1db9c58d9/setup.py", line 41, in <module>
open('CHANGES.rst', encoding='utf8').read()
File "/home/ngocnp/anaconda3/envs/test/lib/python3.8/codecs.py", line 905, in open
file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: 'CHANGES.rst'
Please add CHANGES.rst to package archive
I got this error when using Converter.convert
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\Python3.10\lib\site-packages\MeCab\__init__.py", line 133, in __init__
super(Tagger, self).__init__(args)
RuntimeError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\Python3.10\lib\site-packages\IPython\core\interactiveshell.py", line 3460, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-6-bb952a5b9b71>", line 1, in <module>
converter.convert('γΎγ»γγγγγγ')
File "C:\ProgramData\Anaconda3\envs\Python3.10\lib\site-packages\mozcpy\mozcpy.py", line 22, in convert
return self._convert(sentence, n_best, MECAB_ARGS)
File "C:\ProgramData\Anaconda3\envs\Python3.10\lib\site-packages\mozcpy\mozcpy.py", line 13, in _convert
tagger = MeCab.Tagger(mecab_args)
File "C:\ProgramData\Anaconda3\envs\Python3.10\lib\site-packages\MeCab\__init__.py", line 135, in __init__
raise RuntimeError(error_info(rawargs)) from ee
RuntimeError:
----------------------------------------------------------
Failed initializing MeCab. Please see the README for possible solutions:
https://github.com/SamuraiT/mecab-python3#common-issues
If you are still having trouble, please file an issue here, and include the
ERROR DETAILS below:
https://github.com/SamuraiT/mecab-python3/issues
issueγθ±θͺγ§ζΈγεΏ
θ¦γ―γγγΎγγγ
------------------- ERROR DETAILS ------------------------
arguments: -d C:\ProgramData\Anaconda3\envs\Python3.10\lib\site-packages\mozcpy\dic
[ifs] no such file or directory: C:ProgramDataAnaconda3envsPython3.10libsite-packagesmozcpydic\dicrc
----------------------------------------------------------
I think it's caused by the Windows path not escaping properly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.