harsh4870 / docker-ml-faq-rassa Goto Github PK
View Code? Open in Web Editor NEWMachine Learning FAQ model demo with rasa & Docker
Machine Learning FAQ model demo with rasa & Docker
Hi
I attempted to follow the instructions and it reported permission issues.
I checked rasa docker image and it appeared user 1001 is required for the /app directory as well as $(pwd).
Once I switched current directory to that other exceptions came up related to python.
I tried with the image you used and also the most recent one too.
Bellow is for the shell:
docker run -v $(pwd):/app :3.5.2 shell (extended with the right image name of course)
Example:
=================
FIRST I TRIED:
=================
opt/venv/lib/python3.10/site-packages/pkg_resources/init.py:2870: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('ruamel.yaml')
.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
Warning: Input is not a terminal (fd=0).
2024-02-26 23:38:58 INFO root - copying /opt/venv/lib/python3.10/site-packages/rasa/cli/initial_project/actions/init.py -> ./actions
Welcome to Rasa! ๐ค
To get started quickly, an initial project will be created.
If you need some help, check out the documentation at https://rasa.com/docs/rasa.
Traceback (most recent call last):
File "/opt/venv/lib/python3.10/site-packages/setuptools/_distutils/file_util.py", line 33, in _copy_file_contents
os.unlink(dst)
PermissionError: [Errno 13] Permission denied: './actions/init.py'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/venv/bin/rasa", line 8, in
sys.exit(main())
File "/opt/venv/lib/python3.10/site-packages/rasa/main.py", line 127, in main
cmdline_arguments.func(cmdline_arguments)
===============
THEN LATER with most recent rasa:
===============
2024-02-27 00:09:55 ERROR asyncio - Task exception was never retrieved
future: <Task finished name='Task-6' coro=<SignalRouter._dispatch() done, defined at /opt/venv/lib/python3.10/site-packages/sanic/signals.py:121> exception=EOFError()>
Traceback (most recent call last):
File "uvloop/loop.pyx", line 775, in uvloop.loop.Loop._add_reader
KeyError: 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/venv/lib/python3.10/site-packages/prompt_toolkit/input/vt100.py", line 173, in _attached_input
loop.add_reader(fd, callback_wrapper)
File "uvloop/loop.pyx", line 2441, in uvloop.loop.Loop.add_reader
File "uvloop/loop.pyx", line 777, in uvloop.loop.Loop._add_reader
File "uvloop/handles/poll.pyx", line 29, in uvloop.loop.UVPoll.new
File "uvloop/handles/poll.pyx", line 17, in uvloop.loop.UVPoll._init
PermissionError: [Errno 1] Operation not permitted
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/venv/lib/python3.10/site-packages/sanic/signals.py", line 161, in _dispatch
retval = await maybe_coroutine
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.