Hi everyone, I am running kedro 0.17.6 and have ke...
# questions
t
Hi everyone, I am running kedro 0.17.6 and have kedro-viz version 6.7.0. When I run
kedro viz
in my project I get the error
Copy code
ImportError: cannot import name 'deprecated' from 'typing_extensions'
I tried upgrading the package but it didn't solve the issue. How can I get this missing library? I am using python version 3.7.16
n
Where is this error coming from?
Any chance you can share a more detailed traceback
t
This is the traceback @Nok Lam Chan
n
can you try upgrade
typing_extensions
? seems to related to fastapi versioning
t
I tried upgrading it but I already have it at 4.7.1
n
I see - the comments there suggest you need >=4.8.0 which have dropped python 3.7 support already
maybe you can fallback to some older version of
kedro-viz
, 6.7.0 is relatively new while kedro 0.17.6 is almost 2 years old
t
Oh , then I would need to check with my company. We are supposed to use our JFrog repo and I don't see any version higher than 4.7.1 there
Okay, What version for kedro-viz do you suggest?
n
yeah because you are using python 3.7, which is not supported anymore https://devguide.python.org/versions/, thus many libraries are dropping it
t
In the pypi project page they have given this
n
maybe try 6.0.0. If you are on Python 3.8 it should still work, in this case itโ€™s the 3-rd party libraries dropping it so itโ€™s tricky.
flagging this for the viz team @Rashida Kanchwala @Nero Okwa
t
I am using python 3.7.16
@Nok Lam Chan with 6.0.0 as well I am getting same error
n
can you run
pip list | grep fastapi typing_extensions
?
t
Copy code
fastapi: 0.89.1
typing_extensions: 4.7.1
๐Ÿ‘€ 1
r
Hi @Tejas Tundulwar, if you haven't already tried, can you please uninstall and reinstall as suggested here
Copy code
pip uninstall typing_extensions --yes and then reinstalling typing_extensions==4.7.1
Thank you
๐Ÿ‘€ 1
t
@Ravi Kumar Pilla This works , Thanks. I am getting other errors now. I will reach out if I am not able to solve them ๐Ÿ™‚
๐Ÿฅณ 2
r
Glad it worked !! If possible, I would recommend you to please upgrade python version >=3.8 as Kedro Viz will be dropping support for 3.7 from version 7.0.0. Thank you
๐Ÿ‘๐Ÿฝ 1