https://flyte.org logo
#ask-the-community
Title
# ask-the-community
a

Akash

11/12/2022, 7:28 AM
This error i m getting while running the python script in getting started part of Flyte
k

Kevin Su

11/12/2022, 7:31 AM
Could you share the code you ran?
a

Akash

11/12/2022, 7:32 AM
message has been deleted
After that i ran pyflyte run example.py wf --n 500 ......
k

Kevin Su

11/12/2022, 7:34 AM
which version of flytekit are you using
a

Akash

11/12/2022, 7:35 AM
I don't know which version it is I just followed the getting started part
k

Kevin Su

11/12/2022, 7:36 AM
pip show flytekit
a

Akash

11/12/2022, 7:37 AM
1.2.3
k

Kevin Su

11/12/2022, 7:39 AM
hmm, it works for me. Could you try to remove flytekit, and reinstall it
a

Akash

11/12/2022, 7:40 AM
How to Remove... using python after sometimes now
k

Kevin Su

11/12/2022, 7:40 AM
pip uninstall flytekit
a

Akash

11/12/2022, 7:42 AM
Now installed
k

Kevin Su

11/12/2022, 7:43 AM
try to run the example again
Copy code
pyflyte run example.py wf --n 500 --mean 42 --sigma 2
a

Akash

11/12/2022, 7:43 AM
message has been deleted
Can you tell how to completely remove flytekit I can try it because pip uninstall did not completely removed it
k

Kevin Su

11/12/2022, 7:46 AM
ah, I think it’s idl issues, which version of flyteidl are you using? pip show flyteidl
a

Akash

11/12/2022, 7:47 AM
1.1.22
k

Kevin Su

11/12/2022, 7:49 AM
hmm. the version is same as mine
a

Akash

11/12/2022, 7:51 AM
During first time installation of flytekit it showed warning messages
I ignored that
Can you tell how to completely remove the package and try installing again?
k

Kevin Su

11/12/2022, 7:53 AM
pip uninstall flytekit
a

Akash

11/12/2022, 7:53 AM
Tried this
k

Kevin Su

11/12/2022, 7:53 AM
what’s your os
a

Akash

11/12/2022, 7:54 AM
Ubuntu
k

Kevin Su

11/12/2022, 7:58 AM
sorry, I’m thinking
are you using conda? if not, could you try to install conda, and install flytekit in conda environment.
a

Akash

11/12/2022, 8:10 AM
My machine is bit old...it can't run conda
I have used the flytekit sandbox But i wanted to resolve this error for others who might be facing this
@Haytham Abuelfutuh helped me with sandbox already
k

Kevin Su

11/12/2022, 8:19 AM
@Eduardo Apolinario (eapolinario) @Yee Did you see this error before?
y

Yee

11/12/2022, 5:42 PM
feels like something is a little messed up yeah
this is the idl part
you should use a python virtualenv
if your machine can run python it should be able to run virtualenv
a

Akash

11/13/2022, 3:49 PM
Ok sure will try in python environment