Hello,
I tried to install rasa on my docker server. Unfortunately I get the following error when I follow the guide from the website.
I appreciate any help!
Update: This issue seems to be the same as described in [Docker] - Rasa init error · Issue #4653 · RasaHQ/rasa · GitHub. Maybe someone here has already solved this.
The error is the following:
root@XubuntuVM:~/rasaFolder# sudo docker run -v $(pwd):/app rasa/rasa init --no-prompt
Warning: Output is not to a terminal (fd=1).
Warning: Input is not to a terminal (fd=0).
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 "/usr/local/lib/python3.6/distutils/dir_util.py", line 70, in mkpath
os.mkdir(head, mode)
PermissionError: [Errno 13] Permission denied: '__pycache__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/build/bin/rasa", line 11, in <module>
load_entry_point('rasa==1.5.0a1', 'console_scripts', 'rasa')()
File "/build/lib/python3.6/site-packages/rasa/__main__.py", line 76, in main
cmdline_arguments.func(cmdline_arguments)
File "/build/lib/python3.6/site-packages/rasa/cli/scaffold.py", line 195, in run
init_project(args, path)
File "/build/lib/python3.6/site-packages/rasa/cli/scaffold.py", line 111, in init_project
create_initial_project(path)
File "/build/lib/python3.6/site-packages/rasa/cli/scaffold.py", line 119, in create_initial_project
copy_tree(scaffold_path(), path)
File "/usr/local/lib/python3.6/distutils/dir_util.py", line 159, in copy_tree
verbose=verbose, dry_run=dry_run))
File "/usr/local/lib/python3.6/distutils/dir_util.py", line 135, in copy_tree
mkpath(dst, verbose=verbose)
File "/usr/local/lib/python3.6/distutils/dir_util.py", line 74, in mkpath
"could not create '%s': %s" % (head, exc.args[-1]))
distutils.errors.DistutilsFileError: could not create '__pycache__': Permission denied