Windows Local Python Environment Installation Guide
Within this guide, we will walk you through the steps to setup an environment on your local computer that is running Windows.
Installing Miniconda 3
First, we need to download Miniconda 3 from: https://docs.conda.io/en/latest/miniconda.html
- Choose the “Miniconda3 Windows 64-bit” option.
- Open the downloaded installer.
- Follow the steps to completion.
- Note: Make sure to select the checkbox to “Add Miniconda to PATH”
- Open
Command Prompt
- By typing in “search” in the lower left-hand corner
cmd
. - Select
Run as Administrator
to open the terminal.
- By typing in “search” in the lower left-hand corner
- Ensure that
conda
was installed correctly and is up-to-date by typing:
Installing the inmas Bootcamp environment
With the software prerequisites done, we move onto to setting up a custom
conda
environment for the bootcamp.
We will use a requirements.txt
to pre-specify python packages required for
the workshop. You can download a copy by clicking:
The contents of the file is viewable at the end of the post.
If on Windows, please:
- Go to the following URL: https://inmas-training.github.io/inmas-bootcamp/inmas.yaml
- Click “File -> Save Webpage as” and Press “Save”
- Open
Command Prompt
- Version 1:
- By typing in “search” in the lower left-hand corner
cmd
. - Select
Run as Administrator
to open the terminal.
- By typing in “search” in the lower left-hand corner
- Version 2:
- Or, use Windows Key + R to open
Run
box. - Inside of the box, type:
cmd
- Press Ctrl + Shift + Enter to open an administrator command line.
- Or, use Windows Key + R to open
- Version 1:
In Command Prompt
, we will navigate to where the configuration file is saved
by typing:
Next, we’ll use the configuration file downloaded onto the desktop to create the course environment.
# Create an environment called "inmas" with packages installed.
conda env create -f inmas.yaml
Python Environment Details
Contents of the Inmas environment file: inmas.yaml
name: inmas
channels:
- defaults
- pytorch
- conda-forge
dependencies:
- python=3.9
- pip>=21.0
- tensorflow=2.4
- pytorch=1.9
- torchvision
- torchaudio
- scikit-learn
- scipy
- statsmodels
- typing
- requests
- pyyaml
- pandas
- pandas-datareader
- imageio
- pillow
- librosa
- h5py
- tqdm
- matplotlib
- seaborn
- bokeh
- jupyter
- boto3
- pip:
- gym
- gradio