6 Comments
User's avatar
JK's avatar

Getting this error on running phi init

ImportError: cannot import name 'Literal' from 'typing' (/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py)

Expand full comment
Ashpreet Bedi's avatar

Pushed a fix, run `pip install --upgrade phidata` and try again :)

Error was caused because we were importing Literal from typing instead of typing_extensions in one file and this is an error in python 3.7

Thanks!

Expand full comment
Ashpreet Bedi's avatar

@JK please can you message us on discord: https://discord.gg/4MtYHHrgA8

Expand full comment
Yash's avatar

Very clear tutorial! I was able to complete it in 15 minutes

Expand full comment
Qing Lu's avatar

Love the concept. I took 14 minutes to finish this

Expand full comment
Ashpreet Bedi's avatar

Thank you!

Expand full comment