Question on installing Prefect. I installed and st...
# prefect-community
k
Question on installing Prefect. I installed and started the Docker version: • docker run -it -p 8080:8080 --name workflow-machine prefecthq/prefect:latest The command line stopped in Python: C:\Projekte\Lokal\software\develop\GitHub\NodeRed2Python>docker run -it -p 8080:8080 -v C/Projekte/Lokal/software/develop/GitHub/NodeRed2Python/.prefect/root/.prefect --name workflow-machine prefecthq/prefect:master Python 3.7.7 (default, May 15 2020, 113757) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.
>>
When I open Docker CLI and want to start the UI-Server I get the following error: # prefect server start Traceback (most recent call last): File "/usr/local/bin/prefect", line 8, in <module> sys.exit(cli()) File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in call return self.main(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/prefect/cli/server.py", line 279, in start docker_internal_ip = get_docker_ip() File "/usr/local/lib/python3.7/site-packages/prefect/utilities/docker_util.py", line 12, in get_docker_ip ip_route_proc = Popen(["ip", "route"], stdout=PIPE) File "/usr/local/lib/python3.7/subprocess.py", line 800, in init restore_signals, start_new_session) File "/usr/local/lib/python3.7/subprocess.py", line 1551, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'ip': 'ip' # Sorry if this is a dummy question but where is my fault? I tried to find something about this but could not find anything. Thanks, Kai
n
Hi @Kai Weber, let’s move this to GitHub so we can better triage with the Core team!
k
Ok, so I just copy my thread content?
n
Sure that'll work just fine! (sorry, we have a slash command to create an issue from a thread but I'm not able to access it at the moment)
Thanks @Kai Weber - it's a holiday for the Prefect team today so it may be till tomorrow before they're able to answer your question.
k
Done, Thanks for your help!
😄 1
Ok, then I wait 🙂
Happy holidays, by the way!
n
Thank you!