Welcome! Log In Create A New Profile

Advanced

error message that prevents build

Posted by doug_scott 
error message that prevents build
September 07, 2020 04:30PM
I am running Marlin 2.0.6 and just tried to run a build. I get this for an error message:

ModuleNotFoundError: No module named 'platformio.managers.package':
File "C:\users\doug\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 167:
env.SConscript(item, exports="env")
File "C:\Users\doug\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\doug\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 287:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "J:\Marlin-2.0.6\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 12:
from platformio.managers.package import PackageManager

I just started enabling BLTouch settings and tried to run the build. These errors kill the build before it even starts. The build worked last week, and the only changes were the ones to enable BLTouch. Can't see how that would stop it from even starting. I am building inside Visual Studio Code and Platformio. Any help would be greatly appreciated.
Re: error message that prevents build
September 07, 2020 09:19PM
platfomio itself was updated

In PlatformIO Core 5.0 they removed managers.package

You need to upgrade marlin to 2.0.6.1
Re: error message that prevents build
September 08, 2020 05:00AM
Quote
Dust
platfomio itself was updated

In PlatformIO Core 5.0 they removed managers.package

You need to upgrade marlin to 2.0.6.1

Thank you very much, that was a quick and painless fix.
Sorry, only registered users may post in this forum.

Click here to login