May-30-2025, 07:22 PM
This is a sad story.
Using my mobile phone and an app from Epson, I was setting up my printer to work with a new router. Everything was fine. Right at the end of setting up the printer, the app said: "New firmware is available. Do you want to install it?" I foolishly clicked "Yes". Something went wrong. The printer was left unusable. Epson knows about this problem. They have a software to reflash the printer, using a printer usb cable. Worked fine, but ...
But, somehow it flashed my bios, or at least my grub2 bootloader, away, I use Ubuntu 22.04 with grub bootloader. Grub was gone! I could not start Ubuntu 22.04.
On justanswer.co.uk I got help. AmareshK told me to switch the computer on and immediately and repeatedly press del. Worked, I entered the bios! I booted from a Ubuntu 24.04 boot stick, installed Ubuntu 24.04. The fact that justanswer.co.uk tried to take £35 from my bank account 3 days later and my bank contacted me about fraud is neither here nor there.
The Ubuntu 22.04 partition was somehow damaged and could not start. Using gparted in 24.04, I checked the partition, then I could boot 22.04
In Ubuntu 22.04, in bash, I use this bash command to start Python in a virtual environment:
This command does not work in 24.04, although everywhere I look on the internet says:
In 24.04, which has Python 3.12 I get this:
peterr@peterr-Modern-15-B7M:~$ cd Python_Virtual_Environments && source GP_env/bin/activate && python3 -m idlelib.idle
/usr/bin/python3: Error while finding module specification for 'idlelib.idle' (ModuleNotFoundError: No module named 'idlelib')
Try to install idlelib:
Any tips please?
I also created a new VENV in 24.04, called GPE, but it will not start Idle, same problem.
Using my mobile phone and an app from Epson, I was setting up my printer to work with a new router. Everything was fine. Right at the end of setting up the printer, the app said: "New firmware is available. Do you want to install it?" I foolishly clicked "Yes". Something went wrong. The printer was left unusable. Epson knows about this problem. They have a software to reflash the printer, using a printer usb cable. Worked fine, but ...
But, somehow it flashed my bios, or at least my grub2 bootloader, away, I use Ubuntu 22.04 with grub bootloader. Grub was gone! I could not start Ubuntu 22.04.
On justanswer.co.uk I got help. AmareshK told me to switch the computer on and immediately and repeatedly press del. Worked, I entered the bios! I booted from a Ubuntu 24.04 boot stick, installed Ubuntu 24.04. The fact that justanswer.co.uk tried to take £35 from my bank account 3 days later and my bank contacted me about fraud is neither here nor there.
The Ubuntu 22.04 partition was somehow damaged and could not start. Using gparted in 24.04, I checked the partition, then I could boot 22.04
In Ubuntu 22.04, in bash, I use this bash command to start Python in a virtual environment:
Quote:pedro@pedro-MSI:~$ cd Python_Virtual_Environments && source GP_env/bin/activate && python -m idlelib.idle
This command does not work in 24.04, although everywhere I look on the internet says:
Quote:start Idle with: python -m idlelib.idle
In 24.04, which has Python 3.12 I get this:
peterr@peterr-Modern-15-B7M:~$ cd Python_Virtual_Environments && source GP_env/bin/activate && python3 -m idlelib.idle
/usr/bin/python3: Error while finding module specification for 'idlelib.idle' (ModuleNotFoundError: No module named 'idlelib')
Try to install idlelib:
Quote:(GP_env) peterr@peterr-Modern-15-B7M:~/Python_Virtual_Environments$ pip install idlelib
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Any tips please?
I also created a new VENV in 24.04, called GPE, but it will not start Idle, same problem.