Python Fatal error in launcher — Unable to create process
This post covers how to fix the process path error that prevents Python or pip commands from running.
[01] Situation
- Environment: Windows 10, VSCode, Git
- Set up a Python venv on Machine A
- Uploaded the result to a GitHub repository
- Downloaded (git clone) the repository on Machine B to continue work
- Entered the virtual environment (
.\venv\Scripts\activate) and ran python/pip commands, triggering the following error:- Fatal error in launcher: Unable to create process using “path1” “path2”

[02] Cause
The Python/pip paths baked into the virtual environment differ between machines (e.g., E:... on Machine A vs. D:... on Machine B).
[03] Solution
The methods below are workarounds. If the runtime environment changes, you have to reinstall every time. You should look into whether only the venv environment variables can be updated.
3-1. Upgrade the virtual environment
1
2
# Before entering the virtual environment
python -m venv --upgrade venv
3-2. Reinstall packages
1
2
3
4
5
6
# After entering the virtual environment, reinstall pip
python -m pip install --upgrade --force-reinstall pip
# Reinstall the package that throws the error
pip uninstall flask
pip install flask