Python Forum
pip stops waiting for python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pip stops waiting for python
#7
(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.
Type wf.msc and look at rules.
If have own security software just turn of firewall for while,and try again.
If install again can right click run 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.
snippsat and Gribouillis like this post
Reply


Messages In This Thread
pip stops waiting for python - by walker - Nov-26-2023, 06:11 PM
RE: pip stops waiting for python - by snippsat - Nov-26-2023, 07:10 PM
RE: pip stops waiting for python - by walker - Nov-27-2023, 09:09 AM
RE: pip stops waiting for python - by snippsat - Nov-27-2023, 10:44 AM
RE: pip stops waiting for python - by walker - Nov-27-2023, 02:51 PM
RE: pip stops waiting for python - by snippsat - Nov-27-2023, 04:35 PM
RE: pip stops waiting for python - by walker - Nov-28-2023, 06:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Waiting for input from serial port, then move on KenHorse 3 1,183 Apr-17-2024, 07:21 AM
Last Post: DeaD_EyE
  [SOLVED] [Linux] Script in cron stops after first run in loop Winfried 2 952 Nov-16-2022, 07:58 PM
Last Post: Winfried
  Waiting for heavy functions question philipbergwerf 14 3,477 Apr-29-2022, 07:31 PM
Last Post: philipbergwerf
  How to create waiting process? samuelbachorik 4 2,013 Sep-02-2021, 05:41 PM
Last Post: bowlofred
  Know when the pyttsx3 engine stops talking UsualCoder 3 3,276 Aug-29-2021, 11:08 PM
Last Post: snippsat
  Waiting and listening test 2 2,172 Nov-13-2020, 04:43 PM
Last Post: michael1789
  IDLE stops responding upon saving tompi1 2 1,972 Oct-01-2020, 05:44 PM
Last Post: Larz60+
  waiting for barcode scanner output, while main program continues to run lightframe109 3 4,711 Sep-03-2020, 02:19 PM
Last Post: DeaD_EyE
  waiting to connect Skaperen 9 3,630 Aug-17-2020, 05:58 AM
Last Post: Skaperen
  Launch another python command without waiting for a return. SpongeB0B 13 11,086 Jun-18-2020, 10:45 AM
Last Post: Yoriz

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020