-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
PIO Home not working anymore (Raspberry Pi 3 and Termux) #3313
Comments
the same inside my Termux installation :
|
Please provide an output from a system Terminal
|
echo $PATH
|
echo $PYTHONPATH returns nothing but 'which python' returns
|
python --version
|
pip --version
|
pip list
|
That are all outputs from the Termux installation. The following are from the Raspberry Pi 3 |
echo $PATH
|
echo $PYTHONPATH returns nothing but 'which python' returns
|
python --version
|
pip --version
|
pip list
|
How did you install PlatformIO Core? |
I installed platformio on both systems with 'pip install -U platformio', without an virtual environment. |
Please take all of this with the consideration I am not a python developer. The issue seems the be that the shared library assets under contrib-pysite for cryptography's bindings are incompatible with the raspberry pi runtime (at least while running raspbian). Examining the objects they seemed to be arm compatible, but I didn't dig into this much further beyond the fact they wouldn't load. Someone else can probably clean up my workaround, but to circumvent the issue for now inside the venv created by platformio I did a pip install cryptography, then copied the binary artifacts created from that install over the files inside contrib-pysite.
Again, sorry for the crude and ugly workaround, I'm sure a more experienced python developer can provide better guidance. |
Cloud you try to create virtualenv with Python 2?
|
Virtual environment, python2 install on Termux system
|
Virtual environment, python2 on openhabian (Raspberry Pi 3)
|
Two completely different systems (Rasp Stretch on Raspberry Pi, Termux terminal emulator on Android), both confirmed working with platformio (home) before. The error is present with or without installing in an virtualenv on both systems |
Having the same issue except that I'm installing it through remote SSH on VS Code. Issue post: platformio/platformio-vscode-ide#942 (comment) Any fix yet? |
New platformio update...still no working pio home in Termux
|
The same on Raspberry Pi 3
|
I did some improvement in a10625a Could you run P.S: You will need to have GCC compiuer on your machine. |
Ok thank you, now its working in Termux after compiling with the --dev argument, only got one complain error with hdl-checker....
|
On the Raspberry Pi doing the same steps updates to a new version but there is no compiling action, its seems the process doesnt get startet
|
GCC is installed on the Pi
|
Please re-run |
- [x] Have you followed the [guidelines for contributing](https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md)? - [x] Have you checked that there aren't other open [pull requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change? - [x] Have you built your formula locally with `brew install --build-from-source <formula>`, where `<formula>` is the name of the formula you're submitting? - [x] Is your test running fine `brew test <formula>`, where `<formula>` is the name of the formula you're submitting? - [x] Does your build pass `brew audit --strict <formula>` (after doing `brew install <formula>`)? ----- * Improved VSCode template with special ``forceInclude`` field for direct includes via ``-include`` flag ([issue #3379](platformio/platformio-core#3379)) * Improved support of PIO Home on card-sized PC (Raspberry Pi, etc.) ([issue #3313](platformio/platformio-core#3313)) * Froze "marshmallow" dependency to 2.X for Python 2 ([issue #3380](platformio/platformio-core#3380)) * Fixed "TypeError: unsupported operand type(s)" when system environment variable is used by project configuration parser ([issue #3377](platformio/platformio-core#3377)) * Fixed an issue when Library Dependency Finder (LDF) ignores custom "libLDFMode" and "libCompatMode" options in [library.json](http://docs.platformio.org/page/librarymanager/config.html) * Fixed an issue when generating of compilation database "compile_commands.json" does not work with Python 2.7 ([issue #3378](platformio/platformio-core#3378)) Closes #50367. Signed-off-by: Rui Chen <[email protected]>
I have today was forced to upgrade to 4.3.2 (some kind of account change stuff) which reintroduced this issue on my remote agent - but this seems to be fixed in 4.2.1... |
@kgyrtkirk which issues do you have with the latest PIO Core 4.3.3? |
I've just upgraded to 4.3.3 ; but this issue still persists; it's basically:
OS is running Raspbian 10 on a raspberry pi1 |
Please do the next:
It looks like you use custom RPi linux image. |
not really; it's a stock raspbian image...it already has gcc as well |
How did you install PlatformIO Core? Could you try to remove ALL files and folder from |
removed
which have install everything into a
I see that there are more recent versions of contrib-pysite ...not sure why I'm getting 2.37 while I was looking into this the installation finished...and I got back the same error...(but I might have not properly removed the .platformio before this run) now that I've seen the command...I've removed that "cryptography" and run:
and bingo...I got back an Authentication Error which is great...after logging in/etc it started working...and I was able to flash the new fw I wanted to a few hours ago :D |
Means, a package for Python 3.7.
This is actually a bug. It was fixed for PIO Home and presents for PIO Remote. Could you reopen a separate issue for the history? I would like to fix it and ask you to re-test. https://github.com/platformio/platformio-core/issues |
I'm not sure if you wanted me to open a ticket for the crypto related issue or that the curl stuff installs those packages with pip :) |
Pio Home stopped working on Raspberry Pi3 installation. Reinstalling, updating or upgrading with
pip install -U platformio
doesn´t help.Error log on Raspberry Pi :
The text was updated successfully, but these errors were encountered: