Nov-28-2023, 06:55 PM
(Nov-27-2023, 04:35 PM)snippsat Wrote: Possible can---------------------------------------------------------------------------------------------------------------------python.exe
be block bye a firewall.
Usually when install first time will a GUI window will pop-up and ask if will allow python.exe.
Typewf.msc
and look at rules.
If have own security software just turn of firewall for while,and try again.
If install again can right clickrun as administrator
,to avoid permission issues.
After the various tests that you suggested and which demonstrated that there was something strange in the system, I focused on finding some anomaly in the Windows 10 Pro environment.
1) I carried out the first check using the "sfc /scannow" command;
a. The result showed that some system files were corrupt, they were restored, but this was not enough to solve the problem.
2) I uninstalled all components of Python 3.12.0, using the "Revo Uninstaller Pro" program, which removed all elements and cleaned the registry.
3) I subsequently proceeded to restore the operating system, saving the App and Data;
4) With the system completely clean, I installed Python but not the latest release (3.12.0), but the penultimate one (3.11.6). The installation was
successful, installing all the necessary modules;
5) Using a "cmd" terminal, I executed the following commands:
C:\Users\walker> python --version
Python 3.11.6
C:\Users\walker> pip --version
pip 23.2.1 from C:\Users\walker\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)
C:\root_src>python -m venv test_env
cd "C:\root_src\test_env\Scripts"
C:\root_src\test_env\Scripts>activate
(test_env) C:\root_src\test_env\Scripts>
(test_env) C:\root_src\test_env\Scripts>deactivate
C:\root_src\test_env\Scripts>
As you can see everything went fine, I will then update to the latest release.
Thank you for your assistance, which allowed me to thoroughly investigate the problem and resolve it.
Goodbye see you soon.