Questions tagged [python]
Python is an interpreted, general, high-level programming language. Programming questions are off topic. Questions about the use of Python should be asked at Stack Overflow (https://www.stackoverflow.com) instead.
5 questions from the last 30 days
11 votes
2 answers
2k views
If any Python process is running, keep the screen on - Windows 11
In the power settings, my computer is configured to turn off the screen after 2 hours of inactivity. In all of my Python projects that I run at random times during my day I add a function that runs in ...
0 votes
2 answers
82 views
pip is broken after pip upgrade - ModuleNotFoundError: No module named 'tomllib'
I upgraded PIP, now any call of PIP results in an error. Any suggestions in Internet to restore PIP ... are using PIP itself. I mean: how can I use PIP to resolve the problem if excatly the PIP is ...
-1 votes
0 answers
65 views
Error when installing programs using pip3
have mac OS Tahoe 26.2.1 with pythin3.7.2 and trying to install docx with following command: pip3 install python-docx openpyxl docx2pdf I get this error: Could not find a version that satisfies the ...
2 votes
1 answer
213 views
How can I set the default Python version that gets launched when typing python3 (On Windows 11)?
Overview My exact goal is to set my preferred version of python as the default when I type python3 into a command prompt or powershell prompt. I've tried everything but can't figure it out. I have the ...
1 vote
1 answer
42 views
apt-get python not installable but it is
On Ubuntu, trying to install a deb-file (armory 0.96.5), I get the error: depends on python (>= 2.6), but it is not installable. Well, it already is installed and just typing python --version in ...