During compilation get following user side exception:
"Please install Git client from https://git-scm.com/downloads"
However I have installed the git client and it is in my PATH. Typing "git --version" into terminal returns correctly. I have tried reinstalling Deviot, restarting my computer, reinstalling git client. The problem still persists.
CONFIGURATION: https://docs.platformio.org/page/boards/teensy/teensy40.html
PLATFORM: Teensy 4.9.0 > Teensy 4.0
HARDWARE: IMXRT1062 600MHz, 512KB RAM, 1.94MB Flash
DEBUG: Current (jlink) External (jlink)
PACKAGES:
- framework-arduinoteensy 1.152.0 (1.52)
- toolchain-gccarmnoneeabi 1.50401.190816 (5.4.1)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
LibraryManager: Installing SDL_Arduino_INA3221
c:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\pkg_resources\py2_warn.py:19: UserWarning: ************************************************************
You are running Setuptools on Python 2, which is no longer
supported and
>>> SETUPTOOLS WILL STOP WORKING <<<
in a subsequent release. Please ensure you are installing
Setuptools using pip 9.x or later or pin to `setuptools<45`
in your environment.
If you have done those things and are still encountering
this message, please comment in
https://github.com/pypa/setuptools/issues/1458
about the steps that led to this unsupported combination.
************************************************************
sys.version_info < (3,) and warnings.warn("*" * 60 + msg + "*" * 60)
UserSideException: Please install Git client from https://git-scm.com/downloads:
File "C:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\builder\main.py", line 168:
env.SConscript("$BUILD_SCRIPT")
File "C:\...\.platformio\packages\tool-scons\script\..\engine\SCons\Script\SConscript.py", line 541:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\...\.platformio\packages\tool-scons\script\..\engine\SCons\Script\SConscript.py", line 250:
exec _file_ in call_stack[-1].globals
File "C:\...\.platformio\platforms\teensy\builder\main.py", line 144:
target_elf = env.BuildProgram()
File "C:\...\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 62:
env.ProcessProjectDeps()
File "C:\...\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 131:
project_lib_builder = env.ConfigureProjectLibBuilder()
File "C:\...\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1036:
project.install_dependencies()
File "C:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 868:
lm.install(uri)
File "c:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\managers\lib.py", line 281:
force=force,
File "c:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\managers\package.py", line 702:
pkg_dir = self._install_from_url(name, url, requirements, track=True)
File "c:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\managers\package.py", line 485:
vcs = VCSClientFactory.newClient(tmp_dir, url)
File "c:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\vcsclient.py", line 46:
src_dir, remote_url, tag, silent
File "c:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\vcsclient.py", line 61:
self.check_client()
File "c:\...\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\vcsclient.py", line 127:
"Please install Git client from https://git-scm.com/downloads"
========================= [FAILED] Took 5.00 seconds =========================
Operating system
Windows 10
Board used
Teensy 4.0
Description of problem
During compilation get following user side exception: "Please install Git client from https://git-scm.com/downloads"
However I have installed the git client and it is in my PATH. Typing "git --version" into terminal returns correctly. I have tried reinstalling Deviot, restarting my computer, reinstalling git client. The problem still persists.