0% found this document useful (0 votes)
6 views2 pages

Windows

The document provides instructions for setting up a Windows environment for a training that uses Unix commands. It explains how to install Git and pip if not already present, and how to set up a virtual environment for the training.

Uploaded by

nouro-gims
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Windows

The document provides instructions for setting up a Windows environment for a training that uses Unix commands. It explains how to install Git and pip if not already present, and how to set up a virtual environment for the training.

Uploaded by

nouro-gims
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Windows : Explanations to set up your environment

In this document you will find indications on how to prepare your working environment if you
have a Windows computer. Since the whole training is done with a Unix distribution (valid for
MacOs and Linux).

Although all the commands presented in the training or on the github work. There are some
variations for some of them:

1) Install git if it is not already installed

To see if git is installed you can do : git --version in the terminal

Otherwise, follow these steps:

1. Navigate to the latest Git for Windows installer and download the latest version.
2. Once the installer has started, follow the instructions as provided in the Git Setup
wizard screen until the installation is complete.
3. Open the windows command prompt (or Git Bash if you selected not to use the
standard Git Windows Command Prompt during the Git installation).
4. Type git version to verify Git was installed.

2) Install pip if it is not already installed

To see if pip is installed you can do : pip help in the terminal

Otherwise, follow these steps:

1. curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py


2. python get-pip.py

All the documentation for pip here


3) Set up your virtual environment

Run the following commands :

1) Install virtualenv
- pip install virtualenv

2) Create virtual environment called env


- virtualenv env

3) Activate it

You should activate script is in the Scripts folder : \path\to\env\Scripts\activate

For example : C:\Users\'Username'\venv\Scripts\activate.bat


or .\venv\Scripts\activate (venv being the name of the environment created).

Conclusion :

If you have other questions, ask directly on Q&A on udemy or by private message,
you have all the links on the training :)

You might also like