Hello there :slightly_smiling_face: I'm trying to...
# prefect-getting-started
c
Hello there 🙂 I'm trying to run prefect locally (Ubuntu 22.04, Python 3.11) with free prefect cloud. I have installed prefect in my environment via pipenv and run it to connect to cloud, but...
Copy code
pipenv shell
pipenv install                                                                              18:49:24
Loading .env environment variables...
Installing dependencies from Pipfile.lock (ab06e0)...
(decp-airflow) colin > ~/git/decp-airflow
prefect cloud login                                                                         18:56:52
When not using an interactive terminal, you must supply a `--key` and `--workspace`.
prefect doesn't recognize my terminal as interactive 🤔 I have tried with zsh and bash, tilix and Terminal same error.
1
n
hi @colin - what is the output of
prefect version
?
c
Copy code
Version:             2.18.1
API version:         0.8.4
Python version:      3.11.8
Git commit:          8cff545a
Built:               Thu, Apr 25, 2024 3:40 PM
OS/Arch:             linux/x86_64
Profile:             default
Server type:         cloud
I have worked around it by creating the API key in prefect cloud, but might be a bug.
n
thanks! will take a look later - agree that might be a bug
mm exploring here, if you set
export PREFECT_CLI_PROMPT=1
- does
prefect cloud login
work interactively as expected for you? not saying this should be necessary to do as a user, just checking a theory
nevermind! i think i found the problem and it should be fixed by this pr
🙌 2
c
Great! Thanks 🙏