-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install on docker on pi4b #33
Comments
Hi, @lokxii. Thank you for using nagisa! How about using FROM python:3.10
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
CMD ["python", "main.py"] If you need to use nagisa with |
Sorry, I forgot to mention that I am building on a raspberry pi 4b |
Sorry. At this time, nagisa does not support the CPU of ARM processors such as Raspberry Pi. Since I can't provide an immediate solution, why not try using an alternative, Janome, which is implemented in Pure Python? I think this will probably work. |
Thank you for your reply! I really like nagisa but it becomes a deal breaker when I can't deploy my app using nagisa on my pi4b. I will try other alternatives. |
Hi @lokxii. I apologize for any inconvenience caused.Thank you for your patience. Nagisa is now available on Raspberry Pi 4. It is compatible with Python versions 3.9 to 3.12. Please install nagisa using the following command. pip install nagisa Here is the basic usage. import nagisa
text = 'Pythonで簡単に使えるツールです'
words = nagisa.tagging(text)
print(words)
#=> Python/名詞 で/助詞 簡単/形状詞 に/助動詞 使える/動詞 ツール/名詞 です/助動詞
# Get a list of words
print(words.words)
#=> ['Python', 'で', '簡単', 'に', '使える', 'ツール', 'です']
# Get a list of POS-tags
print(words.postags)
#=> ['名詞', '助詞', '形状詞', '助動詞', '動詞', '名詞', '助動詞'] If you encounter any installation errors, please comment again. Thank you for considering the use of nagisa. I hope this tool will be useful to you. |
I have the following Dockerfile
where content of requirements.txt is
I am getting error
How can I resolve it?
The text was updated successfully, but these errors were encountered: