Skip to content
Advertisement

Tag: windows

Virtual Environment calling global installation of Python instead of venv-specifc version

I’m having an issue where for some reason the virtual environments that I’m creating are accessing my system-wide installations of Python and pip when they shouldn’t be. Here’s my fairly simple workflow just make sure I’m not missing anything obvious (Windows 10, Python 3.8.2): My path is now prepended by (venv), as you’d expect. However, lists all of the system-wide

How to install mod_wsgi into Apache on Windows?

Other similar answers are out of date or focus on a particular error and not the whole process. What is the full installation process of mod_wsgi into an Apache installation on Windows 10? Answer Install Microsoft Visual C++ Build Tools: https://visualstudio.microsoft.com/visual-cpp-build-tools/ Point MOD_WSGI_APACHE_ROOTDIR to your installation (default is C:/Apache24). Use forward slashes: Install mod-wsgi package: Note: Make sure that the

How to mute/unmute sound using pywin32?

My searches lead me to the Pywin32 which should be able to mute/unmute the sound and detect its state (on Windows 10, using Python 3+). I found a way using an AutoHotkey script, but I’m looking for a pythonic way. More specifically, I’m not interested in playing with the Windows GUI. Pywin32 works using a Windows DLL. so far, I

Anaconda (Python) – Cmder integration on Windows 10

I’m having some troubles in having Cmder working with Python through Anaconda on Windows 10 64bit. I got Anaconda working pretty well, tested to plot something with matplotlib and it works just great with Anaconda Prompt. However, if I try to run the same .py file under Cmder, I got the following error: I guess it has something to do

Python stopped working after Windows username change

I changed the windows10 username and now python is not working anymore. The person who previously worked on this machine created the user-profile with a space within the name (C:UsersHis Name…). This ocassionally caused Problems because some programs can’t seem to handle spaces in a path. So I changed this to “C:UsersHisName…” like this: Created a new temporary account. Loged

Catch a specific `Windows Error` number – python

I am creating a new nested directory (data_dir = ‘parentchild’) in python: If the parent directory ‘parent’ did not exists (yet, ’cause I might be setting later in the code), then the code caught that as a Windows Error 3 and moved on. However now what could also happen is Windows Error 206 which is when the filename or extension

Advertisement