Unable to open PIO Home os VS Code

I keep getting this error every time I launch VS Code

Unable to open ‘PIO Home’: Could not start PIO Home server: Error: timeout.

I have installed both PlatformIO and PlatformIO IDE extensions, still get the same error.

In the VS Code integrated terminal when I type pio home, I get the following error:

C:\Users\DELL>pio home
Traceback (most recent call last):
File “main.py”, line 13, in init main
File “C:\Users\DELL.platformio\penv\lib\site-packages\platformio\app.py”, line 24, in
import requests
File “C:\Users\DELL.platformio\penv\lib\site-packages\requests_init_.py”, line 43, in
import urllib3
File “C:\Users\DELL.platformio\penv\lib\site-packages\urllib3_init_.py”, line 8, in
from .connectionpool import (
File “C:\Users\DELL.platformio\penv\lib\site-packages\urllib3\connectionpool.py”, line 29, in
from .connection import (
File “C:\Users\DELL.platformio\penv\lib\site-packages\urllib3\connection.py”, line 39, in
from .util.ssl_ import (
File “C:\Users\DELL.platformio\penv\lib\site-packages\urllib3\util_init_.py”, line 6, in
from .ssl_ import (
File “C:\Users\DELL.platformio\penv\lib\site-packages\urllib3\util\ssl_.py”, line 4, in
import hmac
File “C:\Users\DELL.platformio\penv\lib\hmac.py”, line 8, in
from operator import _compare_digest as compare_digest
ImportError: cannot import name _compare_digest

Please try to uninstall Python, remove C:\Users\DELL.platformio\penv folder, install the latest Python and start IDE. All should work.