Python : DHT11 : Raspberry ZeroW : No module named ‘board’

I have two Raspberry ZeroW , and I try to use both for to get temperature data. I am recording this data in order to find out when the temperature changes. Both devices should be able to execute the same script. Both have the same hardware setup and they record data on a USB stick.
Kind of weary that on the second device executing the python script fails : I get the error :
No module named ‘board’
That s odd because I am sure the board has been installed.
This is a known issue :
I tried to follow the widely published troubleshooting (reinstalling Blank etc) with no success.
For instance :
pip3 install adafruit-circuitpython-dht
does not work !

The error message ( error: externally-managed-environment ) is followed by a hint which indeed leads me to the solution :
“This environment is externally managed ╰─> To install Python packages system-wide, try apt install … “
The only way to get this issue fixed is installing a virtual environment :

That means :

python3 -m venv ./ws-env
source ws-env/bin/activate
(ws-env) user@raspberrypi:/home/pluto# pip3 install board
(ws-env) user@raspberrypi:/home/pluto# pip3 install adafruit-circuitpython-dht

It works like a charm !

Ubuntu : PS2 Mouse is not responding

Took me quite a while to find out how to overcome this problem. Because quite weary restarting the PC.
The keyboard was working fine. Just the mouse. Did not want to take a USB Mouse (matter of not compromising ressources).

Could get it fixed opening a terminal window …

sudo modprobe -rv psmouse
sudo modprobe -v psmouse

Reference :
Thread : I can’t get any PS2 mouse working:
http://ubuntuforums.org/showthread.php?t=2178803

PHPMyAdmin is not starting [Raspian (HW Raspi 3) / Latest version 2022]

It s a wonderful world but this world is not perfect.

The PhpMyAdmin installation does not run out of the box (based on Apache, MariaDB, PHP).

PHP installation seems to be fine.

Launching Phpmyadmin nothing happens.

Quite tricky troubleshooting this issue.

The solution I could find here :

https://pimylifeup.com/raspberry-pi-phpmyadmin/

The Apache config file has to be edited …

-rw-r–r– 1 root root 7224 Dec 21 2021 apache2.conf
pi@raspberrypi:/etc/apache2 $ sudo chmod 777 apache2.conf

Basically, the fix is to include the following line in the apache config file …

Include /etc/phpmyadmin/apache.conf

As mentioned on the Pimylifeup website … “This line will include PHPMyAdmin’s configuration and allow it to be loaded in and listened to by Apache.”

-> back to the original permissions

pi@raspberrypi:/etc/apache2 $ sudo chmod 644 apache2.conf

Migration from Outlook 2010 to Thunderbird

My email provider told me that I would not get my mail (POP3) no more, because Outlook does not support the TLS 1.1 version.

So good bye Outlook, hello Thunderbird, but … I still want to have access to all my messages. This is not an easy task.

There are several websites proposing a solution :

How to Transfer Outlook Emails to Thunderbird Easily


https://www.freeviewer.org/blog/import-outlook-mail-to-thunderbird/

But they want me to buy a special application. Not interested in doing that because I got no more than two PST files to convert and then I am done.

I already knew that there is a tool to convert PST files to a mbox format …

It is the libpst Utilities …

https://slackbuilds.org/repository/14.2/libraries/libpst/

“libpst” is a MS Outlook Personal Folders converter. The libpst project includes a library and a set of utilities to decode
and convert MS Outlook PST files. The tool I need is readpst for to convert PST files to mbox and other formats

Further information can be found here :

https://www.kali.org/tools/libpst/

First the utilities have to be installed ..

sudo apt install pst-utils

Then the mailbox conversion has to be performed

$ readpst -u 1.pst

Now that I have converted the data file to the mbox format I was looking for a way to import the file to the Thunderbird application

The decisive hint came from …

Import MBOX to Thunderbird – A Complete Step by Step Guide

For to import to Thunderbird the “ImportExportTools NG” can be used· It is completely free.

(https://www.bitrecover.com/blog/import-mbox-to-thunderbird/ is recommending the Thunderbird import wizard – This is also a software I would have to pay for …).

The setback of this method is when importing the mbox formatted data there are many folders with the foldername mbox created , for instance …

mbox123
mbox147
mbox111
mbox132

etc.

That means … the “ImportExportTools NG” does not keep the namens of the Outlook folders. It puts “mbox” there followed by a number.

After the migration I have to change the name of these folders,there are nearly one hundred folders to be renamed so there is quite a lot of work to be done.

At a certain point I have been worried about where to find the storage place of my mailbox.

That s not hard to find with a right click on the inbox, it appears as …

/home/pi/.thunderbird/togys4ze.default-default/Mail/pop.gmx.net/Inbox.sbd