• Taeef Najib

    Taeef Najib

    4 weeks ago
    I’m posting this separately because I think the previous message would confuse others. I use windows. I tried installing flytectl using my vs code terminal (cmd) but I can’t upgrade or check the version of flytectl. I installed it inside my project folder, then I also installed it inside my user folder (C:\Users\user) and also added the PATH (C:\Users\user\bin) to my environment. Under the bin folder, I can see the flytectl file, but when I try the code
    flytectl upgrade
    or
    flytectl version
    my terminal returns this error:
    'flytectl' is not recognized as an internal or external command
    That’s where I’m stuck. Do you have any suggestions? 😞 BTW, I used:
    curl -sL <https://ctl.flyte.org/install> | bash
    and got this:
    flyteorg/flytectl info checking GitHub for latest tag
    flyteorg/flytectl info found version: 0.6.4 for v0.6.4/Linux/x86_64
    flyteorg/flytectl info installed ./bin/flytectl
    My concern is whether flytectl can be used on Windows or not! Because someone else tried to reproduce this error using a Windows machine and received the same error. Does any Windows user could use flytectl?
  • Samhita Alla

    Samhita Alla

    3 weeks ago
    Hi, @Taeef Najib!
    flytectl
    should work on Windows. Have you tried specifying the full path, like
    ./bin/flytectl version
    ? I know this isn’t an efficient way but should work.
  • Taeef Najib

    Taeef Najib

    3 weeks ago
    @Samhita Alla let me try that. I’ll post an update if it works. Thanks
  • @Samhita Alla it didn't work, unfortunately
  • Samhita Alla

    Samhita Alla

    3 weeks ago
    Oh, but you do have flytectl in bin, right? Can you try
    C:\Users\<user>\bin\flytectl version
    ?
  • Taeef Najib

    Taeef Najib

    3 weeks ago
    @Samhita Alla it didn't work. Here's what it returned:
    (Flyte01) C:\Users\User\ML\Flyte01>C:\Users\User\bin\flytectl version
    'C:\Users\User\bin\flytectl' is not recognized as an internal or external command,
    operable program or batch file.
  • Eduardo Apolinario (eapolinario)

    Eduardo Apolinario (eapolinario)

    3 weeks ago
    @Taeef Najib, are you using WSL? In your initial message you mentioned that you're seeing
    flyteorg/flytectl info found version: 0.6.4 for v0.6.4/Linux/x86_64
    , which probably indicates that you downloaded the linux binary. We ship windows binaries (e.g. https://github.com/flyteorg/flytectl/releases/download/v0.6.4/flytectl_Windows_x86_64.zip), so we might have a bug in the original script you used to download the binary.
  • Taeef Najib

    Taeef Najib

    3 weeks ago
    @Eduardo Apolinario (eapolinario) You’re the best! It WORKED!!! Thank you so soo much. This is one of the most awesome community I’ve ever come across! 😄 😄 😄