r/pythonhelp • • Oct 27 '21

Python IDLE cannot open file, says "the open file operation failed to connect to the open and save panel service"

Just upgraded to a new MBP with an m1 pro chip. I'm encountering some weird issues trying to open files through IDLE. It throws an error saying "the open file operation failed to connect to the open and save panel service" I have tried reinstalling python, and when looking under the services settings for IDLE I couldn't find such a service. Both macOS Big Sur and macOS Monterrey have this issue. Otherwise, it seems like IDLE is performing as should. Any ideas on how to fix the issue?

3 Upvotes

6 comments sorted by

1

u/carcigenicate Oct 27 '21

You could just not use IDLE. It's really not that good, and there are many alternative IDEs. Atom, VS Code, and Pycharm are common ones.

1

u/SturdyTurdy Oct 27 '21

Yah Ik! I have vs code all setup. Although I haven’t figured out to execute the program through a shell over vscode’s terminal lol. I just need IDLE for a specific uni class.

1

u/tap1498 Oct 29 '21

I'm having same problem let me know when you solve that. Thanks

1

u/SomeGuyNamedJay Oct 31 '21

Use the Intel installer instead of the Universal installer - worked for me. Thanks u/barry_1982!

1

u/[deleted] Oct 30 '21

Delete python and go to

https://www.python.org/downloads/macos/

And then Download the link

Download python 3.9.7-aug.30,2021 MacOS 64-bit Intel installer

This worked for me on Monterey, hope it helps.

1

u/SomeGuyNamedJay Oct 31 '21

I didn't have to delete anything - just use the Intel installer - which is not available on all versions. This version worked for me - thanks for your tip!