What is the problem?
I installed OctoPrint on my PC : works like a charm. (normally it runs on a Pi for the printer, and on another Pi for testing purpose ; never had a single problem.
I want to learn plugins coding, and followed this guide : https://docs.octoprint.org/en/master/development/environment.html#windows , epic fail !
Before I started with installation :
1 - I unisntalled Git for Windows, Python 2.7, Python 3.8 ; then I reinstalled fresh versions in C:\Git, C:Python27, C:\Python39 ; everything's OK, paths, etc.
2 - installed MSC++ compiler for Python 2.7 (VCForPython27.msi)
3 - Build Tools For Visual Studio 2019 : VS Community 2019 is the first software I install after installing Windows, with C++, MFC, Arduino Visual Micro... Win10 SDK is also installed. (most used software)
3 - installed virtualenv
4 - cloned OctoPrint in C:\Devel
Now couldn't create the devenv's fot Python 2.7 and Python 3.9.1
I get this in Git Bash :
$ virtualenv --python=C:\Python27\python.exe venv2
RuntimeError: failed to find interpreter for Builtin discover of python_spec='C:Python27python.exe'
and :
$ virtualenv --python=C:\Python39\python.exe venv3
RuntimeError: failed to find interpreter for Builtin discover of python_spec='C:Python39python.exe'
The executables are where they have to be, paths are set, but it seems they cannot be invoqued...
This being said, I doubt "C:Python27python.exe" "C:Python39python.exe" mean something ! Some slashes are misssing...
I think there's either a problem with the guide, or a problem with Git
What did you already try to solve it?
Reinstallations, PATH verifications, some Googling
Have you tried running in safe mode?
no
Did running in safe mode solve the problem?
Complete Logs
Not related to OctopPrint, but to the development environment installation
Additional information about your setup
Not related to OctopPrint, but to the development environment installation