Python Errors straight up.

JeffGrant

Well-known Member
Joined
Apr 7, 2021
Messages
558
Office Version
  1. 365
Platform
  1. Windows
Hi All, not sure which forum to put this one in as it is so new.

I joined the Office 365 Beta Channel. Installed the new python functionality and it fails straight up. Following the =PY(2+2 example on you tube, I get this #Python! error message.
1696902822324.png

It does not matter what I try to do, I get the same error message.

Any ideas?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I don't have the version but try print(2+2) then Ctrl + Enter

EDIT: Or try 2+2 without the equal sign and Ctrl + Enter
 
Last edited:
Upvote 0
Are you putting a close bracket on the end of the PY formula?

Try just typing =PY(2+2 with no close bracket, then press CTRL+ENTER
 
Upvote 0
Thank you for your replies. I found a thread on a MS forum with many people finding the same issue.
The issue is not related to the syntax, but rather if you are logged in with Multiple Office 365 accounts.

Once I logout out all of the other accounts, the python module started to work correctly.
 
Upvote 0
Solution

Forum statistics

Threads
1,223,893
Messages
6,175,249
Members
452,623
Latest member
Techenthusiast

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top