Machine Learning / Installation & setup
CLI tools & setup
Prepare your workspace, run a small example and check the result before starting the course.
A terminal is where you type commands. A runtime or compiler runs your code; a package manager installs project dependencies. Follow the tools and command surfaces named in this course’s guide.
Already set up? Continue to What Is an ML Engineer? →
BEFORE THE FIRST CODING TASK
Your computer, ready to learn.
Python in an isolated local environment
Create a new practice folder in your editor and open its integrated terminal there. Use a separate folder from personal or production projects.
Already configured? Run the verification steps and continue. Use the command surface labelled beside each snippet, such as your terminal or SQL console.
Files to create
Save these files in the practice folder described above before running its file commands.
print("My workspace is ready")
- 1
Install a supported Python 3 release from the OS-specific official guide, then check the interpreter.
Windows · Terminalpy -3 --versionWhat you should see: The command reports the intended Python 3 version.
Something didn’t work?
Do not replace the OS-managed interpreter. Check the install location if the command is missing.
- 2
Create a project-specific virtual environment. Keep your source files outside .venv.
Windows · Terminalpy -3 -m venv .venvWhat you should see: A .venv directory appears inside the practice folder.
Something didn’t work?
If venv is unavailable, use the official platform/distribution instructions to add support. Do not install packages globally as a workaround.
- 3
Save hello.py, then run it using this environment directly; activation is unnecessary.
Windows · Terminal.\.venv\Scripts\python.exe hello.pyWhat you should see: The terminal prints: My workspace is ready
Something didn’t work?
Check the filename, current folder and interpreter path. A created environment is not evidence that an editor selected it.
Check it yourself
Change the message and rerun. Record the selected interpreter and use that interpreter for later project packages.
This is a self-check; it does not mark a lesson or course complete.
Official setup guides & version requirements
My workspace notes
Notes stay in this browser. They are not uploaded or assessed.