This error i m getting while running the python sc...
# ask-the-community
a
This error i m getting while running the python script in getting started part of Flyte
k
Could you share the code you ran?
a
message has been deleted
After that i ran pyflyte run example.py wf --n 500 ......
k
which version of flytekit are you using
a
I don't know which version it is I just followed the getting started part
k
pip show flytekit
a
1.2.3
k
hmm, it works for me. Could you try to remove flytekit, and reinstall it
a
How to Remove... using python after sometimes now
k
pip uninstall flytekit
a
Now installed
k
try to run the example again
Copy code
pyflyte run example.py wf --n 500 --mean 42 --sigma 2
a
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
ah, I think it’s idl issues, which version of flyteidl are you using? pip show flyteidl
a
1.1.22
k
hmm. the version is same as mine
a
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
pip uninstall flytekit
a
Tried this
k
what’s your os
a
Ubuntu
k
sorry, I’m thinking
are you using conda? if not, could you try to install conda, and install flytekit in conda environment.
a
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
@Eduardo Apolinario (eapolinario) @Yee Did you see this error before?
y
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
Ok sure will try in python environment
102 Views