Long time user, first time poster.
Running pio on a fresh install of Raspbian buster (10); on a Raspberry pi 3A+
After installing Platformio the normal way, sourcing the venv, and running: platformio remote agent start
I get the following:
platformio remote agent start
Tool Manager: Installing platformio/contrib-pysite @ ~2.37.0
Unpacking [####################################] 100%
Tool Manager: contrib-pysite @ 2.37.191020 has been installed!
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting twisted==20.3.0
Using cached Twisted-20.3.0.tar.bz2 (3.1 MB)
Preparing metadata (setup.py) ... done
Collecting zope.interface>=4.4.2
Using cached zope.interface-5.4.0.tar.gz (249 kB)
Preparing metadata (setup.py) ... done
Collecting constantly>=15.1
Using cached constantly-15.1.0.tar.gz (21 kB)
Preparing metadata (setup.py) ... done
Collecting incremental>=16.10.1
Using cached incremental-21.3.0.tar.gz (17 kB)
Preparing metadata (setup.py) ... done
Collecting Automat>=0.3.0
Using cached Automat-20.2.0.tar.gz (61 kB)
Preparing metadata (setup.py) ... done
Collecting hyperlink>=17.1.1
Using cached hyperlink-21.0.0.tar.gz (140 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting PyHamcrest!=1.10.0,>=1.9.0
Using cached PyHamcrest-2.0.2.tar.gz (44 kB)
Preparing metadata (setup.py) ... done
Collecting attrs>=19.2.0
Using cached attrs-21.2.0.tar.gz (184 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting six
Using cached six-1.16.0.tar.gz (34 kB)
Preparing metadata (setup.py) ... done
Collecting idna>=2.5
Using cached idna-3.3.tar.gz (286 kB)
Preparing metadata (setup.py) ... done
Collecting setuptools
Using cached setuptools-59.4.0.tar.gz (2.3 MB)
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Skipping wheel build for twisted, due to binaries being disabled for it.
Skipping wheel build for Automat, due to binaries being disabled for it.
Skipping wheel build for constantly, due to binaries being disabled for it.
Skipping wheel build for incremental, due to binaries being disabled for it.
Skipping wheel build for PyHamcrest, due to binaries being disabled for it.
Skipping wheel build for zope.interface, due to binaries being disabled for it.
Skipping wheel build for idna, due to binaries being disabled for it.
Skipping wheel build for six, due to binaries being disabled for it.
Building wheels for collected packages: attrs, hyperlink, setuptools
Building wheel for attrs (pyproject.toml) ... done
Created wheel for attrs: filename=attrs-21.2.0-py2.py3-none-any.whl size=53741 sha256=db2df7217394cc7a02befe82d6750292495c7376aebc9218a14e230db9888ef5
Stored in directory: /home/pi/.cache/pip/wheels/16/c5/10/f4f3745d449d987c88878f0327089a3a275362a633e05b0d95
Building wheel for hyperlink (pyproject.toml) ... done
Created wheel for hyperlink: filename=hyperlink-21.0.0-py2.py3-none-any.whl size=74653 sha256=9ff604a9b976d3f843f257ac6043901fbeb5bd09e6e0fc6acdd9bc7bc44581d9
Stored in directory: /home/pi/.cache/pip/wheels/88/de/19/cb72b4d9352212aa72590f091be9d29c2ae597def937977879
Building wheel for setuptools (pyproject.toml) ... done
Created wheel for setuptools: filename=setuptools-59.4.0-py3-none-any.whl size=952264 sha256=0cafdea727722d965358d8d47238e1d57d7ea843286242275358abbe0eca771c
Stored in directory: /home/pi/.cache/pip/wheels/ac/67/ef/5b498bb68bb8d4a0ce76b97e2c9a42c97a9f910ae468038f28
Successfully built attrs hyperlink setuptools
Installing collected packages: six, setuptools, idna, attrs, zope.interface, PyHamcrest, incremental, hyperlink, constantly, Automat, twisted
Running setup.py install for six ... done
Running setup.py install for idna ... done
Running setup.py install for zope.interface ... done
Running setup.py install for PyHamcrest ... done
Running setup.py install for incremental ... done
Running setup.py install for constantly ... done
Running setup.py install for Automat ... done
Running setup.py install for twisted ... done
Successfully installed Automat-20.2.0 PyHamcrest-2.0.2 attrs-21.2.0 constantly-15.1.0 hyperlink-21.0.0 idna-3.3 incremental-21.3.0 setuptools-59.4.0 six-1.16.0 twisted-20.3.0 zope.interface-5.4.0
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cryptography<35.0.0,>=3.3
Using cached cryptography-3.4.8.tar.gz (546 kB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /home/pi/.platformio/penv/bin/python /tmp/pip-standalone-pip-otl2uf2c/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-rfoffzlt/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4'
cwd: None
Complete output (31 lines):
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
Collecting setuptools>=40.6.0
Using cached setuptools-59.4.0.tar.gz (2.3 MB)
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting wheel
Using cached wheel-0.37.0.tar.gz (65 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting cffi>=1.12
Using cached cffi-1.15.0.tar.gz (484 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting setuptools-rust>=0.11.4
Using cached setuptools-rust-1.0.0.tar.gz (279 kB)
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
ERROR: Some build dependencies for setuptools-rust>=0.11.4 from https://files.pythonhosted.org/packages/22/fa/ac431f0571bd84d8da5b55d9c9a00d510ae8682324405eabd96a752d090c/setuptools-rust-1.0.0.tar.gz#sha256=eb6e6d41f01e63d042288e5c609684adf93426c10ea745ec324263f3fcbf27e9 conflict with the backend dependencies: setuptools_scm==6.0.1 is incompatible with setuptools_scm>=6.3.2.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz#sha256=94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c (from https://pypi.org/simple/cryptography/) (requires-python:>=3.6). Command errored out with exit status 1: /home/pi/.platformio/penv/bin/python /tmp/pip-standalone-pip-otl2uf2c/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-rfoffzlt/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4' Check the logs for full command output.
Downloading cryptography-3.4.7.tar.gz (546 kB)
|ββββββββββββββββββββββββββββββββ| 546 kB 27 kB/s
Installing build dependencies ... -^canceled
ERROR: Operation cancelled by user
Without the βOperation canceled by userβ weβd go into an annoying loop, like this:
Successfully installed Automat-20.2.0 PyHamcrest-2.0.2 attrs-21.2.0 constantly-15.1.0 hyperlink-21.0.0 idna-3.3 incremental-21.3.0 setuptools-59.3.0 six-1.16.0 twisted-20.3.0 zope.interface-5.4.0
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cryptography<35.0.0,>=3.3
Using cached cryptography-3.4.8.tar.gz (546 kB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /home/pi/.platformio/penv/bin/python /tmp/pip-standalone-pip-hmqcfjtt/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-30v_luoq/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4'
cwd: None
Complete output (31 lines):
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
Collecting setuptools>=40.6.0
Using cached setuptools-59.3.0.tar.gz (2.3 MB)
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting wheel
Using cached wheel-0.37.0.tar.gz (65 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting cffi>=1.12
Using cached cffi-1.15.0.tar.gz (484 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting setuptools-rust>=0.11.4
Using cached setuptools-rust-1.0.0.tar.gz (279 kB)
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
ERROR: Some build dependencies for setuptools-rust>=0.11.4 from https://files.pythonhosted.org/packages/22/fa/ac431f0571bd84d8da5b55d9c9a00d510ae8682324405eabd96a752d090c/setuptools-rust-1.0.0.tar.gz#sha256=eb6e6d41f01e63d042288e5c609684adf93426c10ea745ec324263f3fcbf27e9 conflict with the backend dependencies: setuptools_scm==6.0.1 is incompatible with setuptools_scm>=6.3.2.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz#sha256=94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c (from https://pypi.org/simple/cryptography/) (requires-python:>=3.6). Command errored out with exit status 1: /home/pi/.platformio/penv/bin/python /tmp/pip-standalone-pip-hmqcfjtt/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-30v_luoq/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4' Check the logs for full command output.
Using cached cryptography-3.4.7.tar.gz (546 kB)
^C Installing build dependencies ... canceled
ERROR: Operation cancelled by user
Now trying the dev version, after a: pio upgrade --dev
Followed by the same command: platformio remote agent start
platformio remote agent start
Please wait while upgrading PlatformIO...
PlatformIO has been successfully upgraded to 5.2.4a4!
*********************************************************************************************************
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
*********************************************************************************************************
Tool Manager: Installing platformio/contrib-pysite @ ~2.37.0
Unpacking [####################################] 100%
Tool Manager: contrib-pysite @ 2.37.191020 has been installed!
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting twisted==20.3.0
Using cached Twisted-20.3.0.tar.bz2 (3.1 MB)
Preparing metadata (setup.py) ... done
Collecting zope.interface>=4.4.2
Using cached zope.interface-5.4.0.tar.gz (249 kB)
Preparing metadata (setup.py) ... done
Collecting constantly>=15.1
Using cached constantly-15.1.0.tar.gz (21 kB)
Preparing metadata (setup.py) ... done
Collecting incremental>=16.10.1
Using cached incremental-21.3.0.tar.gz (17 kB)
Preparing metadata (setup.py) ... done
Collecting Automat>=0.3.0
Using cached Automat-20.2.0.tar.gz (61 kB)
Preparing metadata (setup.py) ... done
Collecting hyperlink>=17.1.1
Using cached hyperlink-21.0.0.tar.gz (140 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting PyHamcrest!=1.10.0,>=1.9.0
Using cached PyHamcrest-2.0.2.tar.gz (44 kB)
Preparing metadata (setup.py) ... done
Collecting attrs>=19.2.0
Using cached attrs-21.2.0.tar.gz (184 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting six
Using cached six-1.16.0.tar.gz (34 kB)
Preparing metadata (setup.py) ... done
Collecting idna>=2.5
Using cached idna-3.3.tar.gz (286 kB)
Preparing metadata (setup.py) ... done
Collecting setuptools
Using cached setuptools-59.4.0.tar.gz (2.3 MB)
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Skipping wheel build for twisted, due to binaries being disabled for it.
Skipping wheel build for Automat, due to binaries being disabled for it.
Skipping wheel build for constantly, due to binaries being disabled for it.
Skipping wheel build for incremental, due to binaries being disabled for it.
Skipping wheel build for PyHamcrest, due to binaries being disabled for it.
Skipping wheel build for zope.interface, due to binaries being disabled for it.
Skipping wheel build for idna, due to binaries being disabled for it.
Skipping wheel build for six, due to binaries being disabled for it.
Building wheels for collected packages: attrs, hyperlink, setuptools
Building wheel for attrs (pyproject.toml) ... done
Created wheel for attrs: filename=attrs-21.2.0-py2.py3-none-any.whl size=53741 sha256=9ac8bb8ca1964e66f644c06ee8f110d6ffa771257bfc08a3e727059d4c048e68
Stored in directory: /home/pi/.cache/pip/wheels/16/c5/10/f4f3745d449d987c88878f0327089a3a275362a633e05b0d95
Building wheel for hyperlink (pyproject.toml) ... done
Created wheel for hyperlink: filename=hyperlink-21.0.0-py2.py3-none-any.whl size=74653 sha256=d3d1a47cd81af3b6555d30cb753cd63e0708487b34f1646a5ff0a4b4385d2a29
Stored in directory: /home/pi/.cache/pip/wheels/88/de/19/cb72b4d9352212aa72590f091be9d29c2ae597def937977879
Building wheel for setuptools (pyproject.toml) ... done
Created wheel for setuptools: filename=setuptools-59.4.0-py3-none-any.whl size=952264 sha256=b2a54c36507a59bc39de21472265689d73fa304ccd6b750a0ce97f0ddd98a476
Stored in directory: /home/pi/.cache/pip/wheels/ac/67/ef/5b498bb68bb8d4a0ce76b97e2c9a42c97a9f910ae468038f28
Successfully built attrs hyperlink setuptools
Installing collected packages: six, setuptools, idna, attrs, zope.interface, PyHamcrest, incremental, hyperlink, constantly, Automat, twisted
Running setup.py install for six ... done
Running setup.py install for idna ... done
Running setup.py install for zope.interface ... done
Running setup.py install for PyHamcrest ... done
Running setup.py install for incremental ... done
Running setup.py install for constantly ... done
Running setup.py install for Automat ... done
Running setup.py install for twisted ... done
Successfully installed Automat-20.2.0 PyHamcrest-2.0.2 attrs-21.2.0 constantly-15.1.0 hyperlink-21.0.0 idna-3.3 incremental-21.3.0 setuptools-59.4.0 six-1.16.0 twisted-20.3.0 zope.interface-5.4.0
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cryptography<35.0.0,>=3.3
Using cached cryptography-3.4.8.tar.gz (546 kB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /home/pi/.platformio/penv/bin/python /tmp/pip-standalone-pip-0fqnrslw/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-7qmsu_1k/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4'
cwd: None
Complete output (31 lines):
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
Collecting setuptools>=40.6.0
Using cached setuptools-59.4.0.tar.gz (2.3 MB)
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting wheel
Using cached wheel-0.37.0.tar.gz (65 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting cffi>=1.12
Using cached cffi-1.15.0.tar.gz (484 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting setuptools-rust>=0.11.4
Using cached setuptools-rust-1.0.0.tar.gz (279 kB)
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
ERROR: Some build dependencies for setuptools-rust>=0.11.4 from https://files.pythonhosted.org/packages/22/fa/ac431f0571bd84d8da5b55d9c9a00d510ae8682324405eabd96a752d090c/setuptools-rust-1.0.0.tar.gz#sha256=eb6e6d41f01e63d042288e5c609684adf93426c10ea745ec324263f3fcbf27e9 conflict with the backend dependencies: setuptools_scm==6.0.1 is incompatible with setuptools_scm>=6.3.2.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz#sha256=94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c (from https://pypi.org/simple/cryptography/) (requires-python:>=3.6). Command errored out with exit status 1: /home/pi/.platformio/penv/bin/python /tmp/pip-standalone-pip-0fqnrslw/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-7qmsu_1k/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4' Check the logs for full command output.
Using cached cryptography-3.4.7.tar.gz (546 kB)
Installing build dependencies ... \
This will continue looping until killed.
Suggestions?