First time here? Check out the FAQ!

Revision history  [back]

Issues with pyenv virtual environment and CPU usage

Two Issues:

1) Looking for a quick hack to make this message go away when I start up Wing on Windows 10.

General: Cannot find Python

A supported version of Python could not be found. If you have a recent Python,
be sure you also have a recent version of Wing. If you do not have Python on
your system, you will need to install it before most of Wing's features will 
function properly. If Python is already installed, use Project Properties in 
the Project menu to select the Python Executable to use.

My python installs

PS C:\python\Snippets> pyenv versions
* 3.11.7 (set by C:\Python\.pyenv\pyenv-win\version)
  3.7.9
  3.8.10

Relevant env entries

PYENV=C:\Python\.pyenv\pyenv-win\
PYENV_HOME=C:\Python\.pyenv\pyenv-win\
PYENV_ROOT=C:\Python\.pyenv\pyenv-win\

There are no python executables on the path due to using pyenv

2) While getting that message above and until I open a project Windows Defender aka Antimalware Service Executable aka MsMpEng.exe starts consuming 66% of CPU. Thats not good.

Issues with pyenv virtual environment and CPU usage

Two Issues:

1) Looking for a quick hack to make this message go away when I start up Wing on Windows 10.

General: Cannot find Python

A supported version of Python could not be found. If you have a recent Python,
be sure you also have a recent version of Wing. If you do not have Python on
your system, you will need to install it before most of Wing's features will 
function properly. If Python is already installed, use Project Properties in 
the Project menu to select the Python Executable to use.

My python installs

PS C:\python\Snippets> pyenv versions
* 3.11.7 (set by C:\Python\.pyenv\pyenv-win\version)
  3.7.9
  3.8.10

Relevant env entries

PYENV=C:\Python\.pyenv\pyenv-win\
PYENV_HOME=C:\Python\.pyenv\pyenv-win\
PYENV_ROOT=C:\Python\.pyenv\pyenv-win\

There are no python executables on the path due to using pyenv

2) While getting that message above and until I open a project Windows Defender aka Antimalware Service Executable aka MsMpEng.exe starts consuming 66% of CPU. Thats not good.

Issues with pyenv virtual environment and CPU usage

Two Issues:

Issues: 1) Looking for a quick hack to make this message go away when I start up Wing on Windows 10.

General: Cannot find Python Python

A supported version of Python could not be found. If you have a recent Python, be sure you also have a recent version of Wing. If you do not have Python on your system, you will need to install it before most of Wing's features will function properly. If Python is already installed, use Project Properties in the Project menu to select the Python Executable to use.

use.

My python installs

PS C:\python\Snippets> pyenv versions * 3.11.7 (set by C:\Python\.pyenv\pyenv-win\version) C:\Python.pyenv\pyenv-win\version) 3.7.9 3.8.10

3.8.10

Relevant env entries

PYENV=C:\Python\.pyenv\pyenv-win\
PYENV_HOME=C:\Python\.pyenv\pyenv-win\
PYENV_ROOT=C:\Python\.pyenv\pyenv-win\

PYENV=C:\Python.pyenv\pyenv-win\ PYENV_HOME=C:\Python.pyenv\pyenv-win\ PYENV_ROOT=C:\Python.pyenv\pyenv-win\

There are no python executables on the path due to using pyenv

2) While getting that message above and until I open a project Windows Defender aka Antimalware Service Executable aka MsMpEng.exe starts consuming 66% of CPU. Thats not good.