First time here? Check out the FAQ!
1

Shell: Cannot execute ... needs restart

  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 8.2.0.2 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
ds15's avatar
11
ds15
asked 2023-01-03 14:58:47 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

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

Wingware Support's avatar
4.1k
Wingware Support
answered 2023-01-03 22:02:56 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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

answered 2023-01-04 07:06:53 -0500
This post is a wiki. Anyone with karma >75 is welcome to improve it.
edit flag offensive 0 remove flag delete link

Comments

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