Data Analytics
  • All of Microsoft
  • Python
  • My Role
    • All in My Role
    • Data Analytics
  • Focus
    • All in Focus
    • Microsoft Ignite 2026
    • Microsoft Fabric
    • What's Hot
    • M365 Release
  • Security & Identity
Timespan
Python on Windows: set up Miniconda and JupyterLab
Python

Python on Windows: set up Miniconda and JupyterLab

by HubSite 365 about Pragmatic Works

Set up a separate Conda environment and run Python notebooks locally with Miniconda and JupyterLab on Windows.

Key insights

  • Miniconda installs Python and Conda; add JupyterLab separately to the environment where you plan to use it.
  • The walkthrough uses the Windows x86_64 installer for most Intel or AMD PCs and notes ARM64 for Windows on ARM.
  • The example environment is created with conda create -n python-practice python.
  • Activate the environment before installing JupyterLab with conda install conda-forge::jupyterlab.
  • JupyterLab runs locally; the browser provides its interface, and Shift+Enter runs a notebook cell.

Miniconda, a separate Conda environment, and JupyterLab give Windows users a way to install Python and run notebook code without putting every package into one shared setup. This approach is useful for beginners and anyone who wants a project-specific Python workspace on a Windows PC. Pragmatic Works trainer Emily Taylor demonstrates the installation and first notebook workflow.

What it does

Conda manages Python environments and packages. An environment is a controlled workspace with its own Python installation and packages, so tools for a practice project can be kept separate from other Python work on the computer. The walkthrough creates an environment called python-practice and installs JupyterLab inside it.

Miniconda is the lighter starting point in this setup: it provides Python and Conda, and you add the tools you need. Anaconda Distribution is the larger option described in the walkthrough; it includes Python, Conda, JupyterLab, Jupyter Notebook, and many packages. Either can be a reasonable choice depending on whether you want a smaller starting point or a larger collection of tools already installed.

JupyterLab opens in a browser, but it runs locally on the computer in this workflow. A notebook contains code cells and can also include Markdown. When you run a cell, the Python kernel executes it and keeps the resulting variables in memory while that kernel continues running.

Who it is for and what you need

This setup is aimed at Windows users learning Python or preparing a local environment for notebook-based practice. The walkthrough selects the Windows 64-bit x86_64 graphical installer for most PCs with Intel or AMD processors and says to choose ARM64 for a Windows on ARM computer. On a work computer, follow your organization’s software, security, and licensing policies before installing development tools.

You will need the Miniconda installer and a Conda-enabled prompt. During installation, the example chooses Just Me, keeps the default installation location, and leaves the option to add Miniconda to PATH unchecked. The presenter explains that a Conda-enabled prompt is sufficient for running Conda commands, so Conda does not need to be available from every Windows command prompt.

If another Python installation is already in use, review the installer’s Python option before continuing rather than automatically accepting the default. Conda may also display terms of service or package-plan prompts during environment creation and installation. Review those prompts and follow applicable workplace policies.

How it works

Install Miniconda first, then create and activate the environment before installing JupyterLab. Use the Anaconda PowerShell Prompt, which is PowerShell configured for Conda, to run the commands. The example uses the environment name python-practice; choose a name that will be clear to you if you adapt the steps for another project.

  1. Download and run the Miniconda graphical installer appropriate for your Windows processor. Select Just Me, keep the default location and shortcuts, and leave Add Miniconda to PATH unchecked in the example setup.
  2. Open Anaconda PowerShell Prompt from Windows and check that Conda is available by running .
  3. Create an environment with . Here, sets the environment name, and tells Conda to install Python into that environment. Respond to any terms or package-plan prompts as appropriate.
  4. Activate the new environment with . Its name appears in parentheses at the start of the prompt, providing a visual indication that it is active.
  5. Install JupyterLab into that active environment with . After installation completes, start it by entering .
  6. Create a notebook in JupyterLab, select the Python 3 kernel, and rename the notebook if you want. Notebooks use the file extension; enter Python in a code cell and press Shift+Enter to run it.

The example assigns values to and , then prints them from notebook cells. After the first cell runs, another cell can use those variables because the running kernel retains executed code in memory. Save the notebook when you finish.

Limitations and alternatives

Miniconda does not automatically include JupyterLab in this workflow. You must install it after creating and activating the environment, and you should check that the intended environment is active before installing packages. Otherwise, the installation may not go into the workspace you meant to use.

The installer settings deserve attention if the computer already has Python, because the walkthrough specifically pauses to review that option for existing installations. The selected installer architecture also matters: x86_64 is presented for most Intel or AMD Windows PCs, while Windows on ARM calls for the ARM64 installer. On managed devices, organizational requirements take precedence over the example’s choices.

Anaconda Distribution is an alternative if you prefer a larger bundle that already includes JupyterLab, Jupyter Notebook, and many packages. The Miniconda route instead starts smaller and adds JupyterLab to a chosen environment. The optional cleanup step in the walkthrough deletes the downloaded installer file only; it is not required to use Python and does not remove the installed Miniconda setup.

Sources

Frequently asked questions

How do I install JupyterLab in a Conda environment on Windows?

Open Anaconda PowerShell Prompt, create and activate an environment, then run `conda install conda-forge::jupyterlab`. Start JupyterLab with `jupyter lab`.

Does Miniconda include JupyterLab?

Not in this setup. Miniconda provides Python and Conda; install JupyterLab separately in the environment where you want to use it.

How do I run a Python cell in JupyterLab?

Select the Python 3 kernel, enter code in a notebook cell, and press Shift+Enter to run it.

Which Miniconda installer should I use on Windows?

The walkthrough uses the x86_64 graphical installer for most PCs with Intel or AMD processors and recommends ARM64 for Windows on ARM.