Forum Discussion
VKH
Jul 24, 2026Copper Contributor
Python in Excel 365 returns #CONNECT! in desktop and web
When I try to enter a simple Python expression (like "PY 1+1" ) in Excel 365 Desktop version or Web-version, I get "#Connect!" mistake in Excel Cell.
When I try to run Formulas->Python->Initialization, I get error text: "Error: We weren't able to retrieve this value. We recommend restarting the external code service environment."
Simple restarting Python Environment with the help of "Reset" or "Reset Runtime" do not solve the problem.
I use Windows 11, Office 365 (family).
PS. I would be happy if somebody could help to solve. As for now, standard Microrsoft Suport recommended to ask for a solution in TechCommunity.Microsoft.Com
No RepliesBe the first to reply