Python Tutorial - Master Python Programming For Beginners from Scratch

  • Home
  • Getting Started
  • Basics
  • OOP
  • Advanced Python
  • Tkinter
Home » Python Basics » Install pipenv Windows

Install pipenv Windows

Summary: in this tutorial, you’ll learn how to install the pipenv packaging tool on Windows.

Prerequisites

Before installing the pipenv tool, you need to have Python and pip tool installed on your computer.

First, open Command Prompt or Windows Powershell and type the following command:

python -V

If you see the Python version like the following:

Python 3.8.5
Code language: CSS (css)

…then you already have Python installed on your computer. Otherwise, you need to install Python first.

Second, use the following command to check if you have the pip tool on your computer:

pip -V

It’ll return something like this:

pip 20.2.4 from C:\Users\<username>\AppData\Roaming\Python\Python38\site-packages\pip (python 3.8)I
Code language: CSS (css)

Note that the <username> is the user that you use to login to your Windows.

Installing pipenv on Windows

First, use the following command to install pipenv tool:

pip install pipenv

Second, replace your <username> in the following paths and add them to the PATH environment variable:

c:\Users\<username>\AppData\Roaming\Python\Python38\Site-Packages C:\Users\<username>\AppData\Roaming\Python\Python38\Scripts
Code language: HTML, XML (xml)

Third, type the following command to check if the pipenv installed correctly:

pipenv -h

If it shows the following output, then you’ve successfully installed the pipenv tool successfully.

Usage: pipenv [OPTIONS] COMMAND [ARGS]... ...
Code language: CSS (css)

However, if you see the following message:

pipenv shell 'pipenv' is not recognized as an internal or external command, operable program or batch file.
Code language: JavaScript (javascript)

Then you should check the step 2 to see if you have already added the paths to the PATH environment variable.

In this tutorial, you have learned how to install the pipenv tool on your Windows computer.

  • Was this tutorial helpful ?
  • YesNo
Previous Python Virtual Environments
Next Python pipenv

Getting Started

  • What is Python
  • Install Python
  • Setup VS Code for Python
  • Develop Python Hello World Program

Python Fundamentals

  • Python Syntax
  • Variables
  • Strings
  • Numbers
  • Boolean
  • Constants
  • Comments
  • Type Conversion

Control Flow

  • if…else
  • Ternary Operator
  • for Loop
  • while Loop
  • break
  • continue
  • pass

Functions

  • Python Functions
  • Default Parameters
  • Keyword Arguments
  • Recursive Functions
  • Lambda Expressions
  • Function Docstrings

Python List

  • List
  • Tuple
  • Sorting a List in Place: sort()
  • Sorting a List: sorted()
  • Slicing a List: [::]
  • Unpacking a List
  • Iterating over a List: for loop
  • Finding Index of an Element: index()
  • Iterables
  • Transform List Elements: map()
  • Filtering List Elements: filter()
  • Reducing List Elements: reduce()
  • List Comprehensions

Python Dictionary

  • Dictionary
  • Dictionary Comprehension

Python Set

  • Set
  • Set Comprehension
  • Union of Sets
  • Intersection of Sets
  • Difference between Sets
  • Symmetric Difference of Sets
  • Subset
  • Superset
  • Disjoint Sets

Exception Handling

  • try…except
  • try…except…finally
  • try…except…else

Python Loop with Else Clause

  • for…else
  • while…else
  • do…while Emulation

More on Functions

  • Unpacking Tuples
  • The *args Parameters
  • The **kwargs Parameters
  • Partial Functions

Modules

  • Modules
  • Module Search Path
  • Python __name__
  • Packages

File I/O

  • Reading a Text File
  • Writing to a Text File
  • Creating a Text File
  • Checking If a File Exists
  • Reading from a CSV File
  • Writing to a CSV File

Managing Third-party Packages

  • Python Package Index (PyPI) & PIP
  • Python Virtual Environments
  • Install pipenv on Windows
  • Using pipenv Tool

About pythontutorial.net

Pythontutorial.net helps you master Python programming from scratch fast.

Site Links

  • Home
  • Contact
  • About
  • Privacy Policy

Recent Python Tutorials

  • Tkinter StringVar
  • Tkinter PhotoImage
  • Tkinter OptionMenu
  • Tkinter ScrolledText
  • How to Change the Appearances of Widgets Dynamically Using Ttk Style map() Method

Python References

  • Python String Methods
  • Python MySQL
  • Python PostgreSQL
  • Python Oracle
  • Python SQLite

Copyright © 2021 · by pythontutorial.net. All rights reserved. Log in