Matthew Blau
12/30/2020, 2:24 PMpip3 install prefect
and when I run
prefect backend server
I get a
prefect: command not found
my python version is 3.6.8. What am I doing wrong?josh
12/30/2020, 2:27 PMMatthew Blau
12/30/2020, 2:29 PM/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/mssql-tools/bin
and the path on my local machine where the installation works as expected:
/home/mblau/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/mssql-tools/bin
prefect.__file__
it shows
/home/serverName/.local/lib/python3.6/site-packages/prefect/__init__.py
as its location/home/mblau/.local/lib/python3.8/site-packages/prefect/__init__.py
as prefect's location and I can run prefect backend server and start server from anywhere. Hmmmjosh
12/30/2020, 3:28 PM~/.local/lib/
needs to be on your PATH, it doesn’t appear to be on it in the one you pastedMatthew Blau
12/30/2020, 3:31 PM/home/ServerName/.local/lib/python3.6/site-packages
I get a prefect: command not found. I have uinstalled and reinstalled prefect via pip as well. Any ideas?josh
12/30/2020, 7:03 PMMatthew Blau
12/30/2020, 7:26 PMprefect server start -d
in order to start it in the background, however I do not see that as an option and I am using 0.14.1 as I had just reinstalled it todayjosh
12/30/2020, 7:27 PM-d
flag?Matthew Blau
12/30/2020, 7:27 PMmblau@mblau-VirtualBox:~/.local/bin$ prefect server start -d --use-volume
Usage: prefect server start [OPTIONS]
Try 'prefect server start -h' for help.
Error: no such option: -d
josh
12/30/2020, 7:28 PMprefect version
do you see 0.14.1
?Matthew Blau
12/30/2020, 7:29 PMjosh
12/30/2020, 7:29 PMpip install prefect -U
Matthew Blau
12/30/2020, 7:37 PMjosh
12/30/2020, 7:49 PMprefect server start
command
--postgres-port TEXT Port used to serve Postgres, defaults to '5432'
--hasura-port TEXT Port used to serve Hasura, defaults to '3000'
--graphql-port TEXT Port used to serve the GraphQL API, defaults to '4201'
--ui-port TEXT Port used to serve the UI, defaults to '8080'
--server-port TEXT Port used to serve the Core server, defaults to '4200'
https://docs.prefect.io/api/latest/cli/server.html#startMatthew Blau
12/30/2020, 9:08 PMprefect agent local install
correct? I don't see an option for running the local agent in the background and it would appear that using Supervisor is the best option. Also the link for supervisor.org doesn't actually go to anything.josh
12/30/2020, 9:10 PMMatthew Blau
12/30/2020, 9:10 PMjosh
12/30/2020, 9:12 PMMatthew Blau
12/30/2020, 9:21 PMjosh
12/30/2020, 9:22 PMMatthew Blau
12/30/2020, 9:25 PMjosh
12/30/2020, 9:28 PMnohup
Matthew Blau
12/30/2020, 9:29 PM