-
-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote agent on Raspbian #3865
Comments
You just need these packages in your OS
The only you start |
I've tried on almost clean RPI4, and doesn't work :(
|
It seems the Could you try to install |
There is no "rustup" in "Raspbian GNU/Linux 10 (buster)" repositories. |
Could you run |
Unfortunately, following error:
Same error after installing Rust compiler with command |
Completly clean Raspberry OS instalation:
|
You need to have the next dependent packages:
Could you try to install the packages above and restart PlatformIO Remote agent? |
Unfortunately:
|
It seems that the issue has been finally fixed. Please re-test with |
Well, now I get following error:
but I must admit, that the system isn't clean. I've only deleted ~/.platformio, ~/.cache/pip, /tmp and still error as pasted above. When it fails, it tries another version of |
@lkankowski could you remove |
Well, still no luck.
And second time with
I've also tried on completely clean Raspberry OS with newer OS version and different board (RPI4, 4GB):
Almost complete command list on clean system (retries because of error with dependencies):
And finally still error:
Is there any documentation with complete list of required dependencies? |
after fighting with this on two different arm distros and boards, what works for me is:
only after that I run |
@alex, sorry that disturb you here. Thank you so much for your work on The main problem with the recent We locked PlatformIO Remote agent to What do we do wrong? |
cryptography 3.4 uses rust by default (but it can be disabled with the Please note that if you pin to an older verison you will not receive security updates. |
@alex thanks for the help! It was a bug on our side, we set @gdanov could you remove |
We can't use the latest |
We will not be removing our rust dependency. My recommendation to folks would be to build wheels on a larger machine and then make them available to smaller machines, e.g. https://www.piwheels.org/ |
@gdanov thank you for workaround. |
@lkankowski could you try the latest version of PlatformIO Core via |
@ivankravets I have tried last stable version after trying workaround and then removed the rustc and it always finishes with error, but the second run is fine (it wont start to compile and everything is fine). But for you and all your help I will try once more :) |
@ivankravets here is the result |
@lkankowski it works, great! The moment that the first command fails is a known issue and we will soon it later. |
starting with clean
the second run of |
Hi
Configuration
Operating system: Raspbian GNU/Linux 10 (buster) [fully updated]
PlatformIO Version (
platformio --version
): PlatformIO Core, version 5.1.0Description of problem
It probably wont be the most descriptive report, but I just finished few hours fight with 'pio remote agent start' :)
Finally, after dozen times of reinstalling Platformio, installing pyenv and python 3.8.8, some additional packages (from bash history: cryptography==2.9, pyopenssl, cffi, pyopenssl) and lots of frustration with installing correct version of 'twisted' (finally I couldn't install other than 21.2) I did two successful steps:
platformio-core/platformio/package/manager/core.py
:twisted_version = "19.10.0" if PY2 else "20.3.0" result = [ "twisted >= %s" % twisted_version, ]
('twisted ==...' into 'twisted >=...')
CRYPTOGRAPHY_DONT_BUILD_RUST=1 pio remote agent
and it built.
Steps to Reproduce
as above
Actual Results
Expected Results
Additional info
YOU DO GREAT JOB WITH PLATFORMIO!
The text was updated successfully, but these errors were encountered: