Local Environment Macos HighSierra
Docker Environment CentOS
Yes.
I am trying to include NEologd installation commands in the Dockerfile and reflect them in the Docker container.
The procedure is
Downloaded NEologd from gitclone.
Navigate to the folder where NEologd is located, where
RUN./bin/install-mecab-ipadic-neologd-n-a
You are writing commands.I was able to install it successfully on my local PC, but when I tried to install it in a container with Dockerfile.The following error appears:
(venv)bash-4.2#./bin/install-mecab-ipadic-neologd-n-a
install-mecab-ipadic-NEologd—Start..
install-mecab-ipadic-NEologd—Check the instance of libraries
install-mecab-ipadic-NEologd—find=>ok
install-mecab-ipadic-NEologd — sort=>ok
install-mecab-ipadic-NEologd —head=>ok
install-mecab-ipadic-NEologd —cut=>ok
install-mecab-ipadic-NEologd —egrep=>ok
install-mecab-ipadic-NEologd —mecab=>ok
install-mecab-ipadic-NEologd —mecab-config=>ok
install-mecab-ipadic-NEologd —make=>ok
install-mecab-ipadic-NEologd —curl=>ok
install-mecab-ipadic-NEologd —sed=>ok
install-mecab-ipadic-NEologd—cat=>ok
install-mecab-ipadic-NEologd —diff=>ok
install-mecab-ipadic-NEologd —tar=>ok
install-mecab-ipadic-NEologd —unxz=>ok
install-mecab-ipadic-NEologd —xargs=>ok
install-mecab-ipadic-NEologd — grep=>ok
install-mecab-ipadic-NEologd —iconv=>ok
install-mecab-ipadic-NEologd —patch=>ok
install-mecab-ipadic-NEologd —Which=>ok
which: no file in (/home/ec2-user/venv/bin:/root/.pyenv/shims:/root/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/sbin:/bin)
Does this error mean that the file does not exist?
I'm having trouble solving why I get the error that the file doesn't exist even though I'm doing git clone just like the local one.
I would appreciate your advice.
Looking at the logs, it appears that there was a command that was not found while trying to find out if there were any necessary commands for the installation.
install-mecab-ipadic-neologd
source code shows that the log is about, which says "file
command not found."
Therefore, the rest is metropolis commented, make sure that the file
command exists.If it does not exist, installation is required.
© 2024 OneMinuteCode. All rights reserved.