Python on 8GB PC RAM / No external GPU: VS Code setup and your first script
From installing Python itself and VS Code to creating a virtual environment and running one script. It summarizes the actual setup steps and the waits you hit first, aimed at low-spec PCs.
I want to start programming, but my 8GB PC without external GPU makes me uneasy. This article walks through the setup we actually ran on the verification machine (Core i5-7260U / PC RAM 8GB / no external GPU).
Bottom line: The Python 3.12 + VS Code combo was comfortable on 8GB RAM. From startup to 'Hello, world' is about 12 minutes. What's heavy is the installer and extensions starting at the same time — as long as you keep the order, it's fine.
What you need
- Windows 10 / 11 PC (PC RAM 4GB or more, 8GB recommended)
- About 2GB of free disk space
- Administrator privileges (needed for installation)
No GPU needed. This task doesn't require a GPU.
Step 1: Install Python
- Open the download page on the Python official site.
- Download the Windows installer.
- In the installer's first screen, check Add python.exe to PATH.
- Press "Install Now" and wait for completion (about 3 minutes on the verification machine).
If you forget the PATH check, python won't be found in the command prompt. Always check this each time.
Step 2: Install VS Code
VS Code is an editor in the lightweight class, but installing too many extensions makes it heavy. To start, only these two will do.
- Japanese Language Pack (if you want the Japanese UI)
- Python (Microsoft official)
You don't need to install all the themes, icons, and Git-related extensions from the start. On 8GB RAM, the more extensions you leave resident, the less comfortable editing gets.
Step 3: Create a working folder and virtual environment
Create a folder like python-lab on the desktop and open it in VS Code. Then run the following in VS Code's terminal:
python -m venv .venv
.venv\Scripts\Activate.ps1
If PowerShell is stopped by the execution policy, switch VS Code's default terminal to "Command Prompt" — it's faster. The reason to use a virtual environment is to avoid breaking the Python environment for the whole PC when installing libraries.
Step 4: Run one script
print("It works")
Save this as hello.py, then run it with the run button at the top of VS Code, or with python hello.py in the terminal. On the verification machine, from save to run is under 1 second. Once you get this far, the rest of the articles apply to the same environment.
Sticking point: If it says "python not found", first check PATH. If that doesn't help, uninstalling Python once and installing it again after checking the PATH is the surest way.
What to do next in this environment
After your first script works, we recommend moving on to automating file organization. Tasks that don't need a screen, done with commands only, give noticeable effects even on low-spec PCs.
- Automate file organization in Python
- Extension selection to lighten VS Code
- How to deal with PC memory shortages when it freezes
Summary
Even on 8GB / no external GPU, you can build the Python environment in 30 minutes or less. Key points: check PATH on install, don't overload extensions, use virtual environments. Just the three points are enough to make the first wall considerably lower.