First time here? Check out the FAQ!

Python shell crashing in Wing 101

Hello everyone, I've been a casual Python editor now for 10+ years, but this past winter I had to factory reset my computer resulting in losing all my configuration settings.

I'm having an issue now trying to get the new version of Wing (rev bd71a1fe9ed3) running on my macOS laptop (12.3.1), running Python 3.10.4

Originally I was trying to run my script but I was getting an error, so then I tried running some basic import

import pandas
import xlrd
import openpyxl

Which gives me the exact same error as what I was getting when running my script - the following error gets printed to the shell:

aborted (disconnected)

I also get the "Python has crashed, report the problem to Apple" dialog box

I am able to run my script without any issues through the macOS Terminal (using the command python3, so it does not seem to be related to my Python installation but with the Wing IDE installation.

belzgausstd's avatar
asked 2022-04-30 17:01:06 -0500
Wingware Support's avatar
Wingware Support
updated 2022-05-05 11:41:37 -0500
edit flag offensive 0 remove flag close merge delete


Could you please try each of the above imports one at a time, to see which one is crashing it? Once that's known, please let us know what version of that package you have and please also email your preferences file (from ~/.wingpro8/preferences) to us at so we can try to replicate this here. Thanks for reporting this problem!

Wingware Support's avatar Wingware Support (2022-05-02 09:48:28 -0500) edit

I have tried each independently and not one particularly is crashing it ... although I just tried a different order and it seems to have worked successfully

pandas/xlrd/openpyxl crashes it ... openpyxl/xlrd/pandas did not crash it

belzgausstd's avatar belzgausstd (2022-05-05 07:44:58 -0500) edit

Interesting. We'll try to replicate this here. If you can provide the versions of the packages pandas, xlrd, and openpyxl that might be relevant. It could be a bug in specific versions, possibly something our debugger somehow brings out. Thanks!

Wingware Support's avatar Wingware Support (2022-05-05 07:50:55 -0500) edit

so casual programmer here... how would I get the version numbers for the packages? 😳 :)

more than happy to get it - just need some guidance on how to collect

belzgausstd's avatar belzgausstd (2022-05-05 08:07:51 -0500) edit

The standard is to have the version in the __version__ attribute of the top-level package. Not all do that but it looks like these three all do: pandas.__version__, xlrd.__version__, and openpyxl.__version__. Thanks!

Wingware Support's avatar Wingware Support (2022-05-05 08:21:02 -0500) edit
add a comment see more comments

2 Answers


I managed to replicate this with Wing It does not occur in 8.3.1, which should be out later today. Thanks very much for reporting this problem.

Wingware Support's avatar
Wingware Support
answered 2022-05-05 11:41:25 -0500
edit flag offensive 0 remove flag delete link


yup I confirm it is working on my side as well - thanks for the help!

belzgausstd's avatar belzgausstd (2022-05-11 16:07:29 -0500) edit
add a comment see more comments

Do you use python version supplied by Apple or did you installed your own? Have you tried to use python installed by your own? I've heard that python version shipped with macOS is not the same as the one from

KhazAkar's avatar
answered 2022-05-05 07:29:38 -0500, updated 2022-05-05 07:29:53 -0500
edit flag offensive 0 remove flag delete link


As far as I know we never got a reply from the original poster, but just FYI and/or in case you meant the Python that Wing uses: We have our own private Python build that Wing itself runs on (it's mostly written in Python). Of course the user can run with any Python installation within the constraints of what we support and that includes the Python provided by Apple:

Wingware Support's avatar Wingware Support (2022-05-05 07:39:36 -0500) edit

sorry I've been away from computer - as noted in my ticket I'm using Python 3.10.4 - not the version installed on macOS

belzgausstd's avatar belzgausstd (2022-05-05 07:43:09 -0500) edit

I've meant python version shipped with system for python shell, not for Wing itself. I know that wing uses internally 3.9 :)

Okay, so if it's not the version shipped by Apple, have you tried for example 3.8 or 3.9 instead of 3.10?

KhazAkar's avatar KhazAkar (2022-05-05 07:44:12 -0500) edit

I installed Python 3.10.4 and Wing 101 8.3.0

belzgausstd's avatar belzgausstd (2022-05-05 07:46:02 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer