David Yak

06/16/2022, 5:52 PM
I feel like I have a basic version problem or something. I created an account in, created an API key and then tried to use it in the CLI on an Ubuntu machine. 'prefect cloud login -k MYKEY' gives me an auth error. Lots of docs say perfect auth login etc but my cli (2.0b6) says auth is not a valid command. Help! What else do you need to know? Am I running the wrong version of CLI?

Kevin Kho

06/16/2022, 5:53 PM
1.0 is not compatible with 2.0 so if you are using, you need to install Prefect below 2.0

David Yak

06/16/2022, 6:36 PM
That was almost too easy. The problem was the default install of the CLI with pip3 is 2.0b6. When I used regular pip, the default install is 1.2.2. That version works perfectly with my cloud API key. I do have to say that the documentation is rarely clear whether it is for 1.0 or 2.0 so I had trouble sorting out why certain commands were working while others were not. But, my issue is resolved and off I go into the wild blue yonder of prefect. Thanks!
🙌 4


06/16/2022, 7:04 PM
Can you clarify the default install thing? Pip should definitely not be retrieving a beta release by default.