esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
291 stars 34 forks source link

Similar to #3396, having issues with PlatformIO being incompatible #5667

Open 26tajeen opened 3 months ago

26tajeen commented 3 months ago

The problem

Made the fatal mistake of running an upgrade command on esphome and it broke the installation of my Catalina Mac.

Which version of ESPHome has the issue?

Version: 2022.2.6

What type of installation are you using?

pip

Which version of Home Assistant has the issue?

n/a

What platform are you using?

ESP32

Board

ESP32-POE

Component causing the issue

CLI

Example YAML snippet

n/a

Anything in the logs that might be useful for us?

macbookpro:~ $ esphome run podesp.yaml 
INFO Reading configuration podesp.yaml...
WARNING GPIO12 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/esphome", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/__main__.py", line 825, in main
    return run_esphome(sys.argv)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/__main__.py", line 812, in run_esphome
    rc = POST_CONFIG_ACTIONS[args.command](args, config)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/__main__.py", line 369, in command_run
    exit_code = compile_program(args, config)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/__main__.py", line 186, in compile_program
    rc = platformio_api.run_compile(config, CORE.verbose)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/platformio_api.py", line 106, in run_compile
    return run_platformio_cli_run(config, verbose)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/platformio_api.py", line 102, in run_platformio_cli_run
    return run_platformio_cli(*command, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/platformio_api.py", line 93, in run_platformio_cli
    patch_structhash()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/platformio_api.py", line 23, in patch_structhash
    from platformio.commands.run import helpers, command
ModuleNotFoundError: No module named 'platformio.commands.run'
macbookpro:~ stevejones$ esphome run podesp.yaml 
macbookpro:~ stevejones$ pip3 pip3 install esphome -U
ERROR: unknown command "pip3"
macbookpro:~ stevejones$ pip3 install esphome -U
Requirement already satisfied: esphome in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (2022.2.6)
Requirement already satisfied: voluptuous==0.12.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (0.12.2)
Requirement already satisfied: PyYAML==6.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (6.0)
Requirement already satisfied: paho-mqtt==1.6.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (1.6.1)
Requirement already satisfied: colorama==0.4.4 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (0.4.4)
Requirement already satisfied: tornado==6.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (6.1)
Requirement already satisfied: tzlocal==4.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (4.1)
Requirement already satisfied: tzdata>=2021.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (2022.7)
Requirement already satisfied: pyserial==3.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (3.5)
Collecting platformio==5.2.5 (from esphome)
  Using cached platformio-5.2.5-py3-none-any.whl
Requirement already satisfied: esptool==3.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (3.2)
Collecting click==8.0.3 (from esphome)
  Downloading click-8.0.3-py3-none-any.whl.metadata (3.2 kB)
Requirement already satisfied: esphome-dashboard==20220209.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (20220209.0)
Requirement already satisfied: aioesphomeapi==10.8.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (10.8.2)
Requirement already satisfied: zeroconf==0.38.3 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (0.38.3)
Requirement already satisfied: kconfiglib==13.7.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esphome) (13.7.1)
Requirement already satisfied: protobuf<4.0,>=3.12.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from aioesphomeapi==10.8.2->esphome) (3.12.2)
Requirement already satisfied: noiseprotocol<1.0,>=0.3.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from aioesphomeapi==10.8.2->esphome) (0.3.1)
Requirement already satisfied: importlib-metadata in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from click==8.0.3->esphome) (6.0.0)
Requirement already satisfied: bitstring>=3.1.6 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esptool==3.2->esphome) (4.0.1)
Requirement already satisfied: cryptography>=2.1.4 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esptool==3.2->esphome) (39.0.0)
Requirement already satisfied: ecdsa>=0.16.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esptool==3.2->esphome) (0.18.0)
Requirement already satisfied: reedsolo<=1.5.4,>=1.5.3 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from esptool==3.2->esphome) (1.5.4)
Requirement already satisfied: bottle==0.12.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5->esphome) (0.12.18)
Requirement already satisfied: marshmallow<4,>=2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5->esphome) (3.7.1)
Requirement already satisfied: pyelftools<1,>=0.27 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5->esphome) (0.27)
Requirement already satisfied: requests==2.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5->esphome) (2.24.0)
Collecting semantic-version==2.9.* (from platformio==5.2.5->esphome)
  Downloading semantic_version-2.9.0-py2.py3-none-any.whl.metadata (9.7 kB)
Requirement already satisfied: tabulate==0.8.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5->esphome) (0.8.10)
Requirement already satisfied: aiofiles==0.8.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5->esphome) (0.8.0)
Requirement already satisfied: ajsonrpc==1.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5->esphome) (1.2.0)
Collecting starlette==0.18.* (from platformio==5.2.5->esphome)
  Downloading starlette-0.18.0-py3-none-any.whl.metadata (6.3 kB)
Requirement already satisfied: uvicorn==0.17.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5->esphome) (0.17.6)
Requirement already satisfied: wsproto==1.0.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5->esphome) (1.0.0)
Requirement already satisfied: pytz-deprecation-shim in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tzlocal==4.1->esphome) (0.1.0.post0)
Requirement already satisfied: backports.zoneinfo in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tzlocal==4.1->esphome) (0.2.1)
Requirement already satisfied: ifaddr>=0.1.7 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from zeroconf==0.38.3->esphome) (0.1.7)
Requirement already satisfied: chardet<4,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5->esphome) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5->esphome) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5->esphome) (1.25.10)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5->esphome) (2020.6.20)
Requirement already satisfied: anyio<4,>=3.0.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette==0.18.*->platformio==5.2.5->esphome) (3.6.2)
Requirement already satisfied: typing-extensions in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette==0.18.*->platformio==5.2.5->esphome) (4.4.0)
Requirement already satisfied: asgiref>=3.4.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from uvicorn==0.17.*->platformio==5.2.5->esphome) (3.6.0)
Requirement already satisfied: h11>=0.8 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from uvicorn==0.17.*->platformio==5.2.5->esphome) (0.12.0)
Requirement already satisfied: cffi>=1.12 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from cryptography>=2.1.4->esptool==3.2->esphome) (1.15.1)
Requirement already satisfied: six>=1.9.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from ecdsa>=0.16.0->esptool==3.2->esphome) (1.15.0)
Requirement already satisfied: setuptools in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from protobuf<4.0,>=3.12.2->aioesphomeapi==10.8.2->esphome) (40.8.0)
Requirement already satisfied: zipp>=0.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from importlib-metadata->click==8.0.3->esphome) (3.12.0)
Requirement already satisfied: sniffio>=1.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from anyio<4,>=3.0.0->starlette==0.18.*->platformio==5.2.5->esphome) (1.3.0)
Requirement already satisfied: pycparser in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from cffi>=1.12->cryptography>=2.1.4->esptool==3.2->esphome) (2.21)
Downloading click-8.0.3-py3-none-any.whl (97 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 kB 1.3 MB/s eta 0:00:00
Downloading semantic_version-2.9.0-py2.py3-none-any.whl (15 kB)
Downloading starlette-0.18.0-py3-none-any.whl (59 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.9/59.9 kB 2.6 MB/s eta 0:00:00
Installing collected packages: semantic-version, starlette, click, platformio
  Attempting uninstall: semantic-version
    Found existing installation: semantic-version 2.10.0
    Uninstalling semantic-version-2.10.0:
      Successfully uninstalled semantic-version-2.10.0
  Attempting uninstall: starlette
    Found existing installation: starlette 0.29.0
    Uninstalling starlette-0.29.0:
      Successfully uninstalled starlette-0.29.0
  Attempting uninstall: click
    Found existing installation: click 8.1.7
    Uninstalling click-8.1.7:
      Successfully uninstalled click-8.1.7
  Attempting uninstall: platformio
    Found existing installation: platformio 6.1.14
    Uninstalling platformio-6.1.14:
      Successfully uninstalled platformio-6.1.14
Successfully installed click-8.0.3 platformio-5.2.5 semantic-version-2.9.0 starlette-0.18.0
macbookpro:~ stevejones$ esphome run podesp.yaml 
INFO Reading configuration podesp.yaml...
WARNING GPIO12 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
***************************************************************************************************************************************************************************
Obsolete PIO Core v5.2.5 is used (previous was 6.0.0)
Please remove multiple PIO Cores from a system:
https://docs.platformio.org/page/faq.html#multiple-platformio-cores-in-a-system
***************************************************************************************************************************************************************************
Processing podesp (board: esp32-poe; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Error: Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/__main__.py", line 121, in main
    cli()  # pylint: disable=no-value-for-parameter
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/__init__.py", line 44, in invoke
    return super(PlatformioCLI, self).invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/run/command.py", line 144, in cli
    is_test_running,
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/run/command.py", line 176, in process_env
    result = {"env": name, "duration": time(), "succeeded": ep.process()}
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/run/processor.py", line 67, in process
    result = init_platform(self.options["platform"]).run(
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/platform.py", line 322, in init_platform
    return PlatformFactory.new(name)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/platform/factory.py", line 52, in new
    pkg = PlatformPackageManager().get_package(pkg_or_spec)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/manager/base.py", line 236, in get_package
    for pkg in self.get_installed():
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/manager/base.py", line 209, in get_installed
    pkg = PackageItem(pkg_dir)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/meta.py", line 405, in __init__
    self.metadata = self.load_meta()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/meta.py", line 440, in load_meta
    return PackageMetaData.load(manifest_path)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/meta.py", line 393, in load
    data["spec"] = PackageSpec(**data["spec"])
TypeError: __init__() got an unexpected keyword argument 'uri'

============================================================

An unexpected error occurred. Further steps:

* Verify that you have the latest version of PlatformIO using
  `pip install -U platformio` command

* Try to find answer in FAQ Troubleshooting section
  https://docs.platformio.org/page/faq.html

* Report this problem to the developers
  https://github.com/platformio/platformio-core/issues

============================================================

macbookpro:~ stevejones$ pip install -U platformio
Requirement already satisfied: platformio in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (5.2.5)
Collecting platformio
  Using cached platformio-6.1.14-py3-none-any.whl
Requirement already satisfied: bottle==0.12.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio) (0.12.18)
Collecting click<9,>=8.0.4 (from platformio)
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: colorama in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio) (0.4.4)
Requirement already satisfied: marshmallow==3.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio) (3.7.1)
Requirement already satisfied: pyelftools<1,>=0.27 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio) (0.27)
Requirement already satisfied: pyserial==3.5.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio) (3.5)
Requirement already satisfied: requests==2.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio) (2.24.0)
Collecting semantic-version==2.10.* (from platformio)
  Using cached semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)
Requirement already satisfied: tabulate==0.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio) (0.8.10)
Requirement already satisfied: ajsonrpc==1.2.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio) (1.2.0)
Collecting starlette<0.38,>=0.19 (from platformio)
  Using cached starlette-0.29.0-py3-none-any.whl.metadata (5.8 kB)
Requirement already satisfied: uvicorn<0.30,>=0.16 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio) (0.17.6)
Requirement already satisfied: wsproto==1.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio) (1.0.0)
Requirement already satisfied: urllib3<2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio) (1.25.10)
Requirement already satisfied: chardet<4,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio) (2020.6.20)
Requirement already satisfied: h11<1,>=0.9.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from wsproto==1.*->platformio) (0.12.0)
Requirement already satisfied: importlib-metadata in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from click<9,>=8.0.4->platformio) (6.0.0)
Requirement already satisfied: anyio<5,>=3.4.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette<0.38,>=0.19->platformio) (3.6.2)
Requirement already satisfied: typing-extensions>=3.10.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette<0.38,>=0.19->platformio) (4.4.0)
Requirement already satisfied: asgiref>=3.4.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from uvicorn<0.30,>=0.16->platformio) (3.6.0)
Requirement already satisfied: sniffio>=1.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from anyio<5,>=3.4.0->starlette<0.38,>=0.19->platformio) (1.3.0)
Requirement already satisfied: zipp>=0.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from importlib-metadata->click<9,>=8.0.4->platformio) (3.12.0)
Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached starlette-0.29.0-py3-none-any.whl (69 kB)
Installing collected packages: semantic-version, starlette, click, platformio
  Attempting uninstall: semantic-version
    Found existing installation: semantic-version 2.9.0
    Uninstalling semantic-version-2.9.0:
      Successfully uninstalled semantic-version-2.9.0
  Attempting uninstall: starlette
    Found existing installation: starlette 0.18.0
    Uninstalling starlette-0.18.0:
      Successfully uninstalled starlette-0.18.0
  Attempting uninstall: click
    Found existing installation: click 8.0.3
    Uninstalling click-8.0.3:
      Successfully uninstalled click-8.0.3
  Attempting uninstall: platformio
    Found existing installation: platformio 5.2.5
    Uninstalling platformio-5.2.5:
      Successfully uninstalled platformio-5.2.5
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
esphome 2022.2.6 requires click==8.0.3, but you have click 8.1.7 which is incompatible.
esphome 2022.2.6 requires platformio==5.2.5, but you have platformio 6.1.14 which is incompatible.
Successfully installed click-8.1.7 platformio-6.1.14 semantic-version-2.10.0 starlette-0.29.0
macbookpro:~ stevejones$ esphome run podesp.yaml 
INFO Reading configuration podesp.yaml...
WARNING GPIO12 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/esphome", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/__main__.py", line 825, in main
    return run_esphome(sys.argv)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/__main__.py", line 812, in run_esphome
    rc = POST_CONFIG_ACTIONS[args.command](args, config)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/__main__.py", line 369, in command_run
    exit_code = compile_program(args, config)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/__main__.py", line 186, in compile_program
    rc = platformio_api.run_compile(config, CORE.verbose)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/platformio_api.py", line 106, in run_compile
    return run_platformio_cli_run(config, verbose)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/platformio_api.py", line 102, in run_platformio_cli_run
    return run_platformio_cli(*command, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/platformio_api.py", line 93, in run_platformio_cli
    patch_structhash()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/esphome/platformio_api.py", line 23, in patch_structhash
    from platformio.commands.run import helpers, command
ModuleNotFoundError: No module named 'platformio.commands.run'
macbookpro:~ stevejones$ pip uninstall platformio
Found existing installation: platformio 6.1.14
Uninstalling platformio-6.1.14:
  Would remove:
    /Library/Frameworks/Python.framework/Versions/3.7/bin/pio
    /Library/Frameworks/Python.framework/Versions/3.7/bin/piodebuggdb
    /Library/Frameworks/Python.framework/Versions/3.7/bin/platformio
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio-6.1.14.dist-info/*
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/*
Proceed (Y/n)? y
  Successfully uninstalled platformio-6.1.14
macbookpro:~ stevejones$ esphome run podesp.yaml 
macbookpro:~ stevejones$ pip install -U platformio==5.2.5
Collecting platformio==5.2.5
  Using cached platformio-5.2.5-py3-none-any.whl
Requirement already satisfied: bottle==0.12.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.12.18)
Requirement already satisfied: click<9,>=8.0.3 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (8.1.7)
Requirement already satisfied: colorama in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.4.4)
Requirement already satisfied: marshmallow<4,>=2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (3.7.1)
Requirement already satisfied: pyelftools<1,>=0.27 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.27)
Requirement already satisfied: pyserial==3.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (3.5)
Requirement already satisfied: requests==2.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (2.24.0)
Collecting semantic-version==2.9.* (from platformio==5.2.5)
  Using cached semantic_version-2.9.0-py2.py3-none-any.whl.metadata (9.7 kB)
Requirement already satisfied: tabulate==0.8.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.8.10)
Requirement already satisfied: zeroconf==0.38.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.38.3)
Requirement already satisfied: aiofiles==0.8.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.8.0)
Requirement already satisfied: ajsonrpc==1.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (1.2.0)
Collecting starlette==0.18.* (from platformio==5.2.5)
  Using cached starlette-0.18.0-py3-none-any.whl.metadata (6.3 kB)
Requirement already satisfied: uvicorn==0.17.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.17.6)
Requirement already satisfied: wsproto==1.0.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (1.0.0)
Requirement already satisfied: chardet<4,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (1.25.10)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (2020.6.20)
Requirement already satisfied: anyio<4,>=3.0.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette==0.18.*->platformio==5.2.5) (3.6.2)
Requirement already satisfied: typing-extensions in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette==0.18.*->platformio==5.2.5) (4.4.0)
Requirement already satisfied: asgiref>=3.4.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from uvicorn==0.17.*->platformio==5.2.5) (3.6.0)
Requirement already satisfied: h11>=0.8 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from uvicorn==0.17.*->platformio==5.2.5) (0.12.0)
Requirement already satisfied: ifaddr>=0.1.7 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from zeroconf==0.38.*->platformio==5.2.5) (0.1.7)
Requirement already satisfied: importlib-metadata in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from click<9,>=8.0.3->platformio==5.2.5) (6.0.0)
Requirement already satisfied: sniffio>=1.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from anyio<4,>=3.0.0->starlette==0.18.*->platformio==5.2.5) (1.3.0)
Requirement already satisfied: zipp>=0.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from importlib-metadata->click<9,>=8.0.3->platformio==5.2.5) (3.12.0)
Using cached semantic_version-2.9.0-py2.py3-none-any.whl (15 kB)
Using cached starlette-0.18.0-py3-none-any.whl (59 kB)
Installing collected packages: semantic-version, starlette, platformio
  Attempting uninstall: semantic-version
    Found existing installation: semantic-version 2.10.0
    Uninstalling semantic-version-2.10.0:
      Successfully uninstalled semantic-version-2.10.0
  Attempting uninstall: starlette
    Found existing installation: starlette 0.29.0
    Uninstalling starlette-0.29.0:
      Successfully uninstalled starlette-0.29.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
esphome 2022.2.6 requires click==8.0.3, but you have click 8.1.7 which is incompatible.
Successfully installed platformio-5.2.5 semantic-version-2.9.0 starlette-0.18.0
macbookpro:~ stevejones$ esphome run podesp.yaml 
INFO Reading configuration podesp.yaml...
WARNING GPIO12 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
***************************************************************************************************************************************************************************
Obsolete PIO Core v5.2.5 is used (previous was 6.0.0)
Please remove multiple PIO Cores from a system:
https://docs.platformio.org/page/faq.html#multiple-platformio-cores-in-a-system
***************************************************************************************************************************************************************************
Processing podesp (board: esp32-poe; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Error: Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/__main__.py", line 121, in main
    cli()  # pylint: disable=no-value-for-parameter
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/__init__.py", line 44, in invoke
    return super(PlatformioCLI, self).invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/run/command.py", line 144, in cli
    is_test_running,
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/run/command.py", line 176, in process_env
    result = {"env": name, "duration": time(), "succeeded": ep.process()}
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/run/processor.py", line 67, in process
    result = init_platform(self.options["platform"]).run(
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/platform.py", line 322, in init_platform
    return PlatformFactory.new(name)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/platform/factory.py", line 52, in new
    pkg = PlatformPackageManager().get_package(pkg_or_spec)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/manager/base.py", line 236, in get_package
    for pkg in self.get_installed():
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/manager/base.py", line 209, in get_installed
    pkg = PackageItem(pkg_dir)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/meta.py", line 405, in __init__
    self.metadata = self.load_meta()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/meta.py", line 440, in load_meta
    return PackageMetaData.load(manifest_path)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/meta.py", line 393, in load
    data["spec"] = PackageSpec(**data["spec"])
TypeError: __init__() got an unexpected keyword argument 'uri'

============================================================

An unexpected error occurred. Further steps:

* Verify that you have the latest version of PlatformIO using
  `pip install -U platformio` command

* Try to find answer in FAQ Troubleshooting section
  https://docs.platformio.org/page/faq.html

* Report this problem to the developers
  https://github.com/platformio/platformio-core/issues

============================================================

macbookpro:~ stevejones$ pip uninstall platformio
macbookpro:~ stevejones$ rm .platformio/
rm: .platformio/: is a directory
macbookpro:~ stevejones$ rm .platformio/ -f
rm: .platformio/: is a directory
rm: -f: No such file or directory
macbookpro:~ stevejones$ rm .platformio/ -
rm: .platformio/: is a directory
rm: -: No such file or directory
macbookpro:~ stevejones$ rm -r .platformio 
macbookpro:~ stevejones$ pip install -U platformio==5.2.5
Requirement already satisfied: platformio==5.2.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (5.2.5)
Requirement already satisfied: bottle==0.12.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.12.18)
Requirement already satisfied: click<9,>=8.0.3 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (8.1.7)
Requirement already satisfied: colorama in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.4.4)
Requirement already satisfied: marshmallow<4,>=2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (3.7.1)
Requirement already satisfied: pyelftools<1,>=0.27 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.27)
Requirement already satisfied: pyserial==3.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (3.5)
Requirement already satisfied: requests==2.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (2.24.0)
Requirement already satisfied: semantic-version==2.9.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (2.9.0)
Requirement already satisfied: tabulate==0.8.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.8.10)
Requirement already satisfied: zeroconf==0.38.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.38.3)
Requirement already satisfied: aiofiles==0.8.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.8.0)
Requirement already satisfied: ajsonrpc==1.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (1.2.0)
Requirement already satisfied: starlette==0.18.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.18.0)
Requirement already satisfied: uvicorn==0.17.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.17.6)
Requirement already satisfied: wsproto==1.0.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (1.0.0)
Requirement already satisfied: chardet<4,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (1.25.10)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (2020.6.20)
Requirement already satisfied: anyio<4,>=3.0.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette==0.18.*->platformio==5.2.5) (3.6.2)
Requirement already satisfied: typing-extensions in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette==0.18.*->platformio==5.2.5) (4.4.0)
Requirement already satisfied: asgiref>=3.4.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from uvicorn==0.17.*->platformio==5.2.5) (3.6.0)
Requirement already satisfied: h11>=0.8 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from uvicorn==0.17.*->platformio==5.2.5) (0.12.0)
Requirement already satisfied: ifaddr>=0.1.7 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from zeroconf==0.38.*->platformio==5.2.5) (0.1.7)
Requirement already satisfied: importlib-metadata in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from click<9,>=8.0.3->platformio==5.2.5) (6.0.0)
Requirement already satisfied: sniffio>=1.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from anyio<4,>=3.0.0->starlette==0.18.*->platformio==5.2.5) (1.3.0)
Requirement already satisfied: zipp>=0.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from importlib-metadata->click<9,>=8.0.3->platformio==5.2.5) (3.12.0)
macbookpro:~ stevejones$ esphome run podesp.yaml 
INFO Reading configuration podesp.yaml...
WARNING GPIO12 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
***************************************************************************************************************************************************************************
If you like PlatformIO, please:
- follow us on Twitter to stay up-to-date on the latest project news > https://twitter.com/PlatformIO_Org
- star it on GitHub > https://github.com/platformio/platformio
- try PlatformIO IDE for embedded development > https://platformio.org/platformio-ide
***************************************************************************************************************************************************************************

Processing podesp (board: esp32-poe; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Platform Manager: Installing platformio/espressif32 @ 3.5.0
Error: Please upgrade to the PlatformIO Core 6
macbookpro:~ stevejones$ pip uninstall platformio; pip install platformio==5.2.5
Found existing installation: platformio 5.2.5
Uninstalling platformio-5.2.5:
  Would remove:
    /Library/Frameworks/Python.framework/Versions/3.7/bin/pio
    /Library/Frameworks/Python.framework/Versions/3.7/bin/piodebuggdb
    /Library/Frameworks/Python.framework/Versions/3.7/bin/platformio
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio-5.2.5.dist-info/*
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/*
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/scripts/99-platformio-udev.rules
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/scripts/docspregen.py
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/scripts/fixsymlink.py
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/scripts/get-platformio.py
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/scripts/install_devplatforms.py
Proceed (Y/n)? y
  Successfully uninstalled platformio-5.2.5
Collecting platformio==5.2.5
  Using cached platformio-5.2.5-py3-none-any.whl
Requirement already satisfied: bottle==0.12.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.12.18)
Requirement already satisfied: click<9,>=8.0.3 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (8.1.7)
Requirement already satisfied: colorama in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.4.4)
Requirement already satisfied: marshmallow<4,>=2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (3.7.1)
Requirement already satisfied: pyelftools<1,>=0.27 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.27)
Requirement already satisfied: pyserial==3.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (3.5)
Requirement already satisfied: requests==2.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (2.24.0)
Requirement already satisfied: semantic-version==2.9.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (2.9.0)
Requirement already satisfied: tabulate==0.8.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.8.10)
Requirement already satisfied: zeroconf==0.38.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.38.3)
Requirement already satisfied: aiofiles==0.8.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.8.0)
Requirement already satisfied: ajsonrpc==1.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (1.2.0)
Requirement already satisfied: starlette==0.18.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.18.0)
Requirement already satisfied: uvicorn==0.17.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.17.6)
Requirement already satisfied: wsproto==1.0.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (1.0.0)
Requirement already satisfied: chardet<4,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (1.25.10)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (2020.6.20)
Requirement already satisfied: anyio<4,>=3.0.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette==0.18.*->platformio==5.2.5) (3.6.2)
Requirement already satisfied: typing-extensions in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette==0.18.*->platformio==5.2.5) (4.4.0)
Requirement already satisfied: asgiref>=3.4.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from uvicorn==0.17.*->platformio==5.2.5) (3.6.0)
Requirement already satisfied: h11>=0.8 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from uvicorn==0.17.*->platformio==5.2.5) (0.12.0)
Requirement already satisfied: ifaddr>=0.1.7 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from zeroconf==0.38.*->platformio==5.2.5) (0.1.7)
Requirement already satisfied: importlib-metadata in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from click<9,>=8.0.3->platformio==5.2.5) (6.0.0)
Requirement already satisfied: sniffio>=1.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from anyio<4,>=3.0.0->starlette==0.18.*->platformio==5.2.5) (1.3.0)
Requirement already satisfied: zipp>=0.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from importlib-metadata->click<9,>=8.0.3->platformio==5.2.5) (3.12.0)
Installing collected packages: platformio
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
esphome 2022.2.6 requires click==8.0.3, but you have click 8.1.7 which is incompatible.
Successfully installed platformio-5.2.5
macbookpro:~ stevejones$ rm -r .platformio 
macbookpro:~ stevejones$ pip uninstall platformio; pip install platformio==5.2.5
Found existing installation: platformio 5.2.5
Uninstalling platformio-5.2.5:
  Would remove:
    /Library/Frameworks/Python.framework/Versions/3.7/bin/pio
    /Library/Frameworks/Python.framework/Versions/3.7/bin/piodebuggdb
    /Library/Frameworks/Python.framework/Versions/3.7/bin/platformio
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio-5.2.5.dist-info/*
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/*
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/scripts/99-platformio-udev.rules
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/scripts/docspregen.py
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/scripts/fixsymlink.py
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/scripts/get-platformio.py
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/scripts/install_devplatforms.py
Proceed (Y/n)? y
  Successfully uninstalled platformio-5.2.5
Collecting platformio==5.2.5
  Using cached platformio-5.2.5-py3-none-any.whl
Requirement already satisfied: bottle==0.12.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.12.18)
Requirement already satisfied: click<9,>=8.0.3 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (8.1.7)
Requirement already satisfied: colorama in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.4.4)
Requirement already satisfied: marshmallow<4,>=2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (3.7.1)
Requirement already satisfied: pyelftools<1,>=0.27 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.27)
Requirement already satisfied: pyserial==3.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (3.5)
Requirement already satisfied: requests==2.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (2.24.0)
Requirement already satisfied: semantic-version==2.9.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (2.9.0)
Requirement already satisfied: tabulate==0.8.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.8.10)
Requirement already satisfied: zeroconf==0.38.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.38.3)
Requirement already satisfied: aiofiles==0.8.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.8.0)
Requirement already satisfied: ajsonrpc==1.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (1.2.0)
Requirement already satisfied: starlette==0.18.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.18.0)
Requirement already satisfied: uvicorn==0.17.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (0.17.6)
Requirement already satisfied: wsproto==1.0.* in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from platformio==5.2.5) (1.0.0)
Requirement already satisfied: chardet<4,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (1.25.10)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.*->platformio==5.2.5) (2020.6.20)
Requirement already satisfied: anyio<4,>=3.0.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette==0.18.*->platformio==5.2.5) (3.6.2)
Requirement already satisfied: typing-extensions in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from starlette==0.18.*->platformio==5.2.5) (4.4.0)
Requirement already satisfied: asgiref>=3.4.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from uvicorn==0.17.*->platformio==5.2.5) (3.6.0)
Requirement already satisfied: h11>=0.8 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from uvicorn==0.17.*->platformio==5.2.5) (0.12.0)
Requirement already satisfied: ifaddr>=0.1.7 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from zeroconf==0.38.*->platformio==5.2.5) (0.1.7)
Requirement already satisfied: importlib-metadata in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from click<9,>=8.0.3->platformio==5.2.5) (6.0.0)
Requirement already satisfied: sniffio>=1.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from anyio<4,>=3.0.0->starlette==0.18.*->platformio==5.2.5) (1.3.0)
Requirement already satisfied: zipp>=0.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from importlib-metadata->click<9,>=8.0.3->platformio==5.2.5) (3.12.0)
Installing collected packages: platformio
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
esphome 2022.2.6 requires click==8.0.3, but you have click 8.1.7 which is incompatible.
Successfully installed platformio-5.2.5
macbookpro:~ stevejones$ pip uninstall colorama; pip install colorama==0.4.4
Found existing installation: colorama 0.4.4
Uninstalling colorama-0.4.4:
  Would remove:
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/colorama-0.4.4.dist-info/*
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/colorama/*
Proceed (Y/n)? y
  Successfully uninstalled colorama-0.4.4
Collecting colorama==0.4.4
  Downloading colorama-0.4.4-py2.py3-none-any.whl.metadata (14 kB)
Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Installing collected packages: colorama
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
esphome 2022.2.6 requires click==8.0.3, but you have click 8.1.7 which is incompatible.
Successfully installed colorama-0.4.4
macbookpro:~ stevejones$ pip uninstall zeroconf; pip install zeroconf==0.38.4
Found existing installation: zeroconf 0.38.3
Uninstalling zeroconf-0.38.3:
  Would remove:
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/zeroconf-0.38.3.dist-info/*
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/zeroconf/*
Proceed (Y/n)? y
  Successfully uninstalled zeroconf-0.38.3
Collecting zeroconf==0.38.4
  Downloading zeroconf-0.38.4-py3-none-any.whl.metadata (42 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.7/42.7 kB 1.0 MB/s eta 0:00:00
Requirement already satisfied: ifaddr>=0.1.7 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from zeroconf==0.38.4) (0.1.7)
Downloading zeroconf-0.38.4-py3-none-any.whl (106 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.1/106.1 kB 2.0 MB/s eta 0:00:00
Installing collected packages: zeroconf
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
esphome 2022.2.6 requires click==8.0.3, but you have click 8.1.7 which is incompatible.
esphome 2022.2.6 requires zeroconf==0.38.3, but you have zeroconf 0.38.4 which is incompatible.
Successfully installed zeroconf-0.38.4
macbookpro:~ stevejones$ esphome run podesp.yaml 
INFO Reading configuration podesp.yaml...
WARNING GPIO12 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
***************************************************************************************************************************************************************************
If you like PlatformIO, please:
- follow us on Twitter to stay up-to-date on the latest project news > https://twitter.com/PlatformIO_Org
- star it on GitHub > https://github.com/platformio/platformio
- try PlatformIO IDE for embedded development > https://platformio.org/platformio-ide
***************************************************************************************************************************************************************************

Processing podesp (board: esp32-poe; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Platform Manager: Installing platformio/espressif32 @ 3.5.0
Error: Please upgrade to the PlatformIO Core 6
macbookpro:~ stevejones$ esphome version
Version: 2022.2.6
macbookpro:~ stevejones$

Additional information

No response

sbrk-r commented 2 months ago

2022.2.6

Is there a reason you are running a 2+ year old release?

26tajeen commented 2 months ago

I’ve never manually tried to update it until now and it’s never prompted me to update it or updated itself automatically.

It’s precisely because I thought “oh, I’ll update esphome cli - might as well” that my installation is now temporarily broken. It was working fine before I tried the update.