Comments (4)
Yes Buster is supported. but I did notice something in the Feb Buster Update broke the menu/python deps. On new installs now it install libffi-dev which fixed the issue on new image builds. It might need to be added for all / including Pis that are just upgrading.
Try sudo apt install libffi-dev
, then re-try consolepi-upgrade
. I won't be back in a place where I can test further till early next week.
from consolepi.
It did not work, still errors:
Tried on 2 pies so far.
Launching ConsolePi Serial Console Menu
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Current thread 0x76f3d500 (most recent call first):
/etc/ConsolePi/src/consolepi-commands/consolepi-menu: linje 18: 8172 Avbrutt (SIGABRT) sudo /etc/ConsolePi/src/consolepi-menu.py "${@}"
feb. 17 09:02:03 [INFO][Collect Pi Info] Raspberry Pi 3 Model B+ hw rev 1.3 1 GB (Mfg by Sony)
feb. 17 09:02:03 [INFO][Collect Pi Info] Raspbian 10.3 (Buster) running on BCM2835 Revision: a020d3
feb. 17 09:02:03 [INFO][Collect Pi Info] Linux lab-cp 4.19.102-v7+ #1295 SMP Thu Feb 6 15:43:59 GMT 2020 armv7l GNU/Linux
feb. 17 09:02:04 [INFO][Collect Pi Info] Raspbian with Desktop
feb. 17 09:02:04 [INFO][Collect Pi Info] Python 3 Version Python 3.7.3
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Update Sources
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Skipping Source Update - Already Updated today
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Upgrading ConsolePi via apt. This may take a while
feb. 17 09:02:06 [INFO][Update/Upgrade ConsolePi (apt)] Upgrade Successful
feb. 17 09:02:06 [INFO][Update/Upgrade ConsolePi (apt)] Performing dist-upgrade
feb. 17 09:02:09 [INFO][Update/Upgrade ConsolePi (apt)] dist-upgrade Successful
feb. 17 09:02:09 [INFO][Update/Upgrade ConsolePi (apt)] Tidying up (autoremove)
feb. 17 09:02:11 [INFO][Update/Upgrade ConsolePi (apt)] Everything is tidy now
feb. 17 09:02:11 [INFO][Update/Upgrade ConsolePi (apt)] Installing git via apt
feb. 17 09:02:14 [INFO][Update/Upgrade ConsolePi (apt)] git install/upgraded Successful
feb. 17 09:02:14 [INFO][Update/Upgrade ConsolePi (apt)] Process Complete
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (create consolepi group)] all good pi user already belongs to consolepi group
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (check cache owned by consolepi group)] Cloud Cache ownership already OK
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (check group perms on ConsolePi dir)] ConsolePi dir group already OK
feb. 17 09:02:14 [INFO][git Clone/Update ConsolePi] Directory exists Updating ConsolePi via git
feb. 17 09:02:15 [INFO][git Clone/Update ConsolePi] ConsolePi update/pull Success
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] Prepare/Check Python venv - Starting
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] /etc/ConsolePi/venv directory already exists
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] Upgrade pip
/tmp/ConsolePi: linje 176: 8103 Avbrutt (SIGABRT) sudo ${consolepi_dir}venv/bin/python3 -m pip install --upgrade pip > /dev/null 2>> $log_file
feb. 17 09:02:15 [WARNING][Prepare/Check Python venv] WARNING - pip upgrade returned error
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] pip install/upgrade ConsolePi requirements - This can take some time.
/tmp/ConsolePi: linje 176: 8118 Avbrutt (SIGABRT) sudo ${consolepi_dir}venv/bin/python3 -m pip install --upgrade -r ${consolepi_dir}installer/${req_file} > /dev/null 2>> $log_file
feb. 17 09:02:15 [ERROR][Prepare/Check Python venv] Error - pip install/upgrade ConsolePi requirements
feb. 17 09:02:15 [ERROR][Prepare/Check Python venv] Last Error is fatal, script exiting Please review log /var/log/ConsolePi/install.log
feb. 17 09:02:03 [INFO][Collect Pi Info] Raspberry Pi 3 Model B+ hw rev 1.3 1 GB (Mfg by Sony)
feb. 17 09:02:03 [INFO][Collect Pi Info] Raspbian 10.3 (Buster) running on BCM2835 Revision: a020d3
feb. 17 09:02:03 [INFO][Collect Pi Info] Linux lab-cp 4.19.102-v7+ #1295 SMP Thu Feb 6 15:43:59 GMT 2020 armv7l GNU/Linux
feb. 17 09:02:04 [INFO][Collect Pi Info] Raspbian with Desktop
feb. 17 09:02:04 [INFO][Collect Pi Info] Python 3 Version Python 3.7.3
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Update Sources
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Skipping Source Update - Already Updated today
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Upgrading ConsolePi via apt. This may take a while
feb. 17 09:02:06 [INFO][Update/Upgrade ConsolePi (apt)] Upgrade Successful
feb. 17 09:02:06 [INFO][Update/Upgrade ConsolePi (apt)] Performing dist-upgrade
feb. 17 09:02:09 [INFO][Update/Upgrade ConsolePi (apt)] dist-upgrade Successful
feb. 17 09:02:09 [INFO][Update/Upgrade ConsolePi (apt)] Tidying up (autoremove)
feb. 17 09:02:11 [INFO][Update/Upgrade ConsolePi (apt)] Everything is tidy now
feb. 17 09:02:11 [INFO][Update/Upgrade ConsolePi (apt)] Installing git via apt
feb. 17 09:02:14 [INFO][Update/Upgrade ConsolePi (apt)] git install/upgraded Successful
feb. 17 09:02:14 [INFO][Update/Upgrade ConsolePi (apt)] Process Complete
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (create consolepi group)] all good pi user already belongs to consolepi group
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (check cache owned by consolepi group)] Cloud Cache ownership already OK
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (check group perms on ConsolePi dir)] ConsolePi dir group already OK
feb. 17 09:02:14 [INFO][git Clone/Update ConsolePi] Directory exists Updating ConsolePi via git
feb. 17 09:02:15 [INFO][git Clone/Update ConsolePi] ConsolePi update/pull Success
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] Prepare/Check Python venv - Starting
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] /etc/ConsolePi/venv directory already exists
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] Upgrade pip
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Current thread 0x76f48500 (most recent call first):
feb. 17 09:02:15 [WARNING][Prepare/Check Python venv] WARNING - pip upgrade returned error
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] pip install/upgrade ConsolePi requirements - This can take some time.
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Current thread 0x76fe9500 (most recent call first):
feb. 17 09:02:15 [ERROR][Prepare/Check Python venv] Error - pip install/upgrade ConsolePi requirements
from consolepi.
I haven't been able to reproduce this yet, but I believe there is an issue...
I think the change in the Feb release is going to require the venv be re-created for upgrades:
sudo mv /etc/ConsolePi/venv ~/venv-bak
Then run ```consolepi-upgrade``` and it should re-create the venv from scratch
That would stash the existing python environment you could also just del the venv dir. Then consolepi-upgrade
will re-create it.
Also there is a simplified backup menu consolepi-menu sh
Clustering was disabled in that menu, it just shows what's connected directly and gives options to connect to those. Just so you're aware you can use that in a pinch if the menu fails for any reason.
from consolepi.
superb dude, that worked!
Thanks alot.
from consolepi.
Related Issues (20)
- Single Command Install Script Failing Install HOT 4
- ValueError on 'Launching ConsolePi Serial Console Menu' HOT 2
- Feature request: ports & devices encoded in SSH username HOT 14
- TypeError when adding console HOT 2
- AttributeError when renaming device HOT 2
- Include drivers for Aruba 9000 Series gateway series HOT 4
- FTDI missing serial numbers HOT 2
- consolepi-mdnsreg failed HOT 6
- Custom baud rates for different serial consoles? HOT 1
- Latest RaspberryPi OS uses incompatible python version HOT 1
- Cannot change Hotspot SSID HOT 2
- Menu will not load HOT 3
- ipv4.ip_forward not persisting HOT 4
- Installation fails on Pi 1B Buster HOT 2
- Integration of serial ports ttySC0 + ttySC1 to local serial adapter list? HOT 4
- zero 2 W Install hung up HOT 2
- Aliases take over serial port names HOT 5
- Install errors out HOT 3
- Error HASH not match from the requirements file
- Hardware-Serial via PCI not detected.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consolepi.