Thank you for your reply. The conflict is between the latest python release (3.10.7) and the latest anaconda release, which is python 3.9. As the error has been corrected for python 3.10.
I have removed my python 3.10 as well as anaconda and tried to re-install anaconda, but still get the same error. To me it seems that the the fix you have pointed me to has been applied to anaconda which is a python 3.9.12 release.
You can access and install Python3.10.4 by logging in to anaconda.org by visiting the site.
Of course it’s not modern Python. The reason is that Anaconda is for commercial users, so updates are applied after verification, so there is a slight time lag.
If you can understand this area, I think Anaconda will be your wonderful partner.
The installation seems to proceed, but at the very end it uninstall everything, leaving some files at the anaconda3 folder such as a _conda.exe file that does not work.
I’ve turn off the antivirus software but the problem remains.
Nevertheless I was able to install the miniconda.
Thank you for commenting to help me solve this problem.