hi @wsr4myr, for px.pie you need to install/update to latest version of plotly 4.4.1, which was released on Tuesday and announced on the forum 15 minutes ago :-).
I have upgraded the plotly to the latest version 4.5.4, but I still get the same error of:
AttributeError: module ‘plotly.express’ has no attribute ‘pie’
Hi @Sophie welcome to the forum! This is weird, are you completely sure that you are getting this error with plotly 4.5.4? To be sure, can you please execute the following commands