Ask Your Question

Shell: Cannot execute ... needs restart

asked 2023-01-03 14:58:47 -0500

ds15's avatar
  1. Sorry ... another beginner question: I have the shell error "cannot execute ... needs restart for Python env." Please help me get the shell functioning in Wing.
  2. Here's my background a) last semester I happily used Py 3.10 and a previous version of Wing. But in preparation for my new semester I upgraded to Py 3.11 and Wing b) unfortunately I now see "cannot execute: waiting for shell to restart [Needs restart for Python env] atop the (non-functioning) Python shell in Wing c) since I thought Wing is looking for Py 3.11, I went inside of Edit -> Configure Python i) I changed the Python Executable from 'use default' to 'command line' and inputted: c:\Users[my user name]\AppData\Local\Programs\Python\Python311\python.exe ii) and changed the Python Path from 'use default' to 'custom', and included the above path, excepting 'python.exe' iii) I then select 'Apply' and 'OK' ... but the shell still does not restart Please help! Thanks so much D
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2023-01-03 22:02:56 -0500

Wing 8 does not support Python 3.11. Try Wing 9 instead.

edit flag offensive delete link more

answered 2023-01-04 07:06:53 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Thank you for the prompt response. The download and installer for Wing 9.02 both worked smoothly. Wing's Python shell now functions with Python 3.11.1 Appreciate the assistance. D

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2023-01-03 14:58:47 -0500

Seen: 256 times

Last updated: Jan 04