Not sure what happened, but windows just did an update.

now I cannot open the serial monitor, looks like

" The ‘platformio==3.5.1a1’ distribution was not found "

( I changed my folder name to get rid of the long path )

Windows PowerShell

Copyright © 2009 Microsoft Corporation. All rights reserved.

PS C:\Users\dave\Documents\PlatformIO\Projects\171210-005108-uno> pio device monitor --port COM9

Traceback (most recent call last):

File “C:\Users\dave.platformio\penv\Scripts\pio-script.py”, line 6, in

from pkg_resources import load_entry_point

File “c:\users\dave.platformio\penv\lib\site-packages\pkg_resources_init_.py”, line 3037, in

@call_aside

File "c:\users\dave.platformio\penv\lib\site-packages\pkg_resources_init.py", line 3021, in call_aside

f(*args, **kwargs)

File "c:\users\dave.platformio\penv\lib\site-packages\pkg_resources_init.py", line 3050, in _initialize_master_working_set

working_set = WorkingSet.build_master()

File "c:\users\dave.platformio\penv\lib\site-packages\pkg_resources_init.py", line 657, in _build_master

return cls._build_from_requirements(requires)

File “c:\users\dave.platformio\penv\lib\site-packages\pkg_resources_init_.py”, line 670, in build_from_requirements

dists = ws.resolve(reqs, Environment())

File "c:\users\dave.platformio\penv\lib\site-packages\pkg_resources_init.py", line 855, in resolve

raise DistributionNotFound(req, requirers)

pkg_resources.DistributionNotFound: The ‘platformio==3.5.1a1’ distribution was not found and is required by the application

PS C:\Users\dave\Documents\PlatformIO\Projects\171210-005108-uno>