Can Not find U8Glib-Hal file or directory

I have been trying to add the firmware to a skr v1.3. I keep getting the same error message referring to removing the .pioenvs directory and finding the Uglib file and directory. The Uglib file is in the libraries. Here are the error messages if someone could please give me a hand.
Thanks
Peter

> Executing task: C:\Users\Peter\.platformio\penv\Scripts\platformio.exe run --target upload <


Can not remove temporary directory `I:\Downloads 3D\MP Lower Rider\Firmware\mpcnc lowrider 2 - marlin 2.0 and mks tft firmware\marlin 2.0 - mpcnc lowrider2 - skr v1.3 tmc5160\.pioenvs`. Please remove it manually to avoid build issues
Processing LPC1768 (platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip; framework: arduino; board: nxp_lpc1768)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1768.html
PLATFORM: NXP Arduino LPC176x 0.1.0 > NXP LPC1768
HARDWARE: LPC1768 100MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES:
 - framework-arduino-lpc176x 0.1.3
 - toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ off, Compatibility ~ strict
LibraryManager: Installing U8glib-HAL
Using cache: C:\Users\Peter\.platformio\.cache\cf\a54ce8ed1b234ada291ce966617e3dcf
Unpacking...
FileNotFoundError: [Errno 2] No such file or directory: 'I:\\Downloads 3D\\MP Lower Rider\\Firmware\\mpcnc lowrider 2 - marlin 2.0 and mks tft firmware\\marlin 2.0 - mpcnc lowrider2 - skr v1.3 tmc5160\\.piolibdeps\\LPC1768\\_tmp_installing-einmvifz-package\\U8glib-HAL-dev\\src\\clib\\HAL_example_files\\HAL_LCD_I2C_routines.c.example':
  File "C:\Users\Peter\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 156:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\Peter\.platformio\packages\tool-scons\script\..\engine\SCons\Script\SConscript.py", line 597:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\Peter\.platformio\packages\tool-scons\script\..\engine\SCons\Script\SConscript.py", line 286:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\Peter\.platformio\platforms\nxplpc-arduino-lpc176x\builder\main.py", line 148:
    target_elf = env.BuildProgram()
  File "C:\Users\Peter\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\Peter\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 62:
    env.ProcessProjectDeps()
  File "C:\Users\Peter\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\Peter\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 131:
    project_lib_builder = env.ConfigureProjectLibBuilder()
  File "C:\Users\Peter\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\Peter\.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1036:
    project.install_dependencies()
  File "C:\Users\Peter\.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 868:
    lm.install(uri)
  File "C:\Users\Peter\.platformio\penv\lib\site-packages\platformio\managers\lib.py", line 281:
    force=force,
  File "C:\Users\Peter\.platformio\penv\lib\site-packages\platformio\managers\package.py", line 698:
    pkg_dir = self._install_from_url(name, url, requirements, track=True)
  File "C:\Users\Peter\.platformio\penv\lib\site-packages\platformio\managers\package.py", line 482:
    self.unpack(dlpath, tmp_dir)
  File "C:\Users\Peter\.platformio\penv\lib\site-packages\platformio\managers\package.py", line 222:
    return fu.unpack(dest_dir, with_progress=False)
  File "C:\Users\Peter\.platformio\penv\lib\site-packages\platformio\unpacker.py", line 149:
    self._unpacker.extract_item(item, dest_dir)
  File "C:\Users\Peter\.platformio\penv\lib\site-packages\platformio\unpacker.py", line 39:
    self._afo.extract(item, dest_dir)
  File "C:\Users\Peter\.platformio\python37\lib\zipfile.py", line 1602:
    return self._extract_member(member, path, pwd)
  File "C:\Users\Peter\.platformio\python37\lib\zipfile.py", line 1673:
    open(targetpath, "wb") as target:
===================================================================================== [FAILED] Took 1.02 seconds =====================================================================================

Environment           Status    Duration
--------------------  --------  ------------
megaatmega2560        IGNORED
megaatmega1280        IGNORED
at90usb1286_cdc       IGNORED
at90usb1286_dfu       IGNORED
DUE                   IGNORED
DUE_USB               IGNORED
DUE_debug             IGNORED
LPC1768               FAILED    00:00:01.021
LPC1769               IGNORED
melzi                 IGNORED
melzi_optiboot        IGNORED
rambo                 IGNORED
sanguino_atmega644p   IGNORED
sanguino_atmega1284p  IGNORED
STM32F1               IGNORED
STM32F4               IGNORED
ARMED                 IGNORED
mks_robin             IGNORED
black_stm32f407ve     IGNORED
teensy35              IGNORED
malyanm200            IGNORED
esp32                 IGNORED
fysetc_f6_13          IGNORED
linux_native          IGNORED
================================================================================ 1 failed, 0 succeeded in 00:00:01.021 ================================================================================
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

Many Marlin related errors I’ve seen come from the fact that people seem to use extremely long path names for their project and hitting Windows-internal length restrictions.

Can you move the project from I:\Downloads 3D\MP Lower Rider\Firmware\mpcnc lowrider 2 - marlin 2.0 and mks tft firmware\marlin 2.0 - mpcnc lowrider2 - skr v1.3 tmc5160 to like I:\Marlin?

Thanks, that took care of most of the problems. Still can not get the .pioenvs to delete and now it can not find the destination disk.

> Executing task: C:\Users\Peter\.platformio\penv\Scripts\platformio.exe run <

Can not remove temporary directory `I:\Downloads 3D\MP Lower Rider\Firmware\marlin 2.0\lowrider2\.pioenvs`. Please remove it manually to avoid build issues
Processing LPC1768 (platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip; framework: arduino; board: nxp_lpc1768)
--------------------------------------------------------------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1768.html
PLATFORM: NXP Arduino LPC176x 0.1.0 > NXP LPC1768
HARDWARE: LPC1768 100MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES:
 - framework-arduino-lpc176x 0.1.3
 - toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ off, Compatibility ~ strict
Found 7 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <Servo> 1.0.0        
|-- <LiquidCrystal> 1.0.0
|-- <U8glib-HAL> 0.4     
|-- <TMCStepper> 0.6.2   
|-- <Adafruit NeoPixel> 1.2.4
Building in release mode
  File "I:\Downloads 3D\MP Lower Rider\Firmware\marlin 2.0\lowrider2\Marlin\src\HAL\HAL_LPC1768\upload_extra_script.py", line 16

    print '\nUnable to find destination disk (' + e + ')\n' \

                                              ^

SyntaxError: invalid syntax

What error message appears in Windows when you try to remove the folder I:\Downloads 3D\MP Lower Rider\Firmware\marlin 2.0\lowrider2\.pioenvs?

It’s not per-se complaining about not finding the destination disk, it uses old Python2 syntax for a print statement (no paranthesis around printed string). PlatformIO uses Python3 and all executed scripts must adhere to that. Why is Marlin\src\HAL\HAL_LPC1768\upload_extra_script.py is violating that?

When I look at the latest upload_extra_script.py version it uses the correct syntax

How does it come you have an old version? May indicate that you’re trying to build an outdated Marlin version.

Of course you should also be able to fix the error by manually replacing the upload_extra_script.py with the latest version above.

Finally got it all to work by copying the text of the new file over to the old. Just copying the file over for some reason did not do the trick. Also had to revert back to a older version of the stepper file to get that to compile correctly. Was not able to figure out the issue on the temporary directory but it did not seem to matter on the build. Was able to get it to find my SD card on my computer and it did put the firmware files on it. Still finishing my MPCNC Lowrider so I have not had a chance to try out the firmware that I loaded from Teaching Tech.
Thanks for the help.