Set-enable Python virtualenv on Windows

Premise

--Windows 10 or Windows Server 2019

Download and install Python

Let's download the exe file from the following URL

https://www.python.org/downloads/release/python-382/

After the download is complete, run python-3.8.2.exe to install Python.

2020-04-28_16h22_53.jpg

Check the PATH where Python is installed. In this case:

C:\Users\XXXXXXXX\AppData\Local\Programs\Python\Python38-32

Install virtualenv

Once Python is installed, you can also use "Pip javax Packages", commonly known as pip.

Install with the following command

Install virtualenv


pip install virtualenv

Create a virtual environment with virtualenv

After installing virtualenv, prepare a virtual environment for Python

Create a virtual environment


virtualenv C:\Users\xxxxx\venv

The meaning of the command is as follows.

virtualenv [File path to create\Virtual environment name]

Use virtualenv (activate)

The method of using (activating) the virtual environment created last is as follows.

C:\Users\xxxxx\venv\Scripts\activate.bat

Execute the activate.bat batch under Scripts. Then (venv) is displayed.

(venv) C:\Users\xxxxxxx\venv\Scripts>

Recommended Posts

Set-enable Python virtualenv on Windows
Python on Windows
Install Python on Windows + pip + virtualenv
Virtualenv does not work on Python3.5 (Windows)
python basic on windows ②
Install python on windows
Install Numpy on virtualenv on Windows
Run Openpose on Python (Windows)
Install watchdog on Windows + Python 3.3
Python + Kivy development on Windows
Sphinx-autobuild (0.5.2) on Windows7, Python 3.5.1, Sphinx 1.3.5
Fastest Python installation on Windows
Build Python environment on Windows
Build python environment on windows
I ran python on windows
[Python] [Chainer] [Windows] Install Chainer on Windows
Use Python on Windows (PyCharm)
Python environment construction memo on Windows 10
Python 3.6 on Windows ... and to Xamarin.
Installing Kivy on Windows10 64bit Python3.5
Anaconda python environment construction on Windows 10
Install python2.7 on windows 32bit environment
Install xgboost (python version) on Windows
Install Pytorch on Blender 2.90 python on Windows
Integrate Modelica and Python on Windows
Installing Kivy-Designer on Windows10 64bit Python3.5
Mecab / Cabocha / KNP on Python + Windows
Install Python development environment on Windows 10
Python CGI file created on Windows
Getting started with Python 3.8 on Windows
Reproduce One-Touch Search on Python 3.7.3. (Windows 10)
Until you create Python Virtualenv on Windows and launch Jupyter
Notes for using OpenCV on Windows10 Python 3.8.3.
Run servo with Python on ESP32 (Windows)
Python 2.7, 3.4, 3.5 extension module build environment on Windows
twitter on python3
[Kivy] How to install Kivy on Windows [Python]
python windows environment
Python installation (Windows)
Creating a python virtual environment on Windows
Use without installing python 2.x on Windows
windows7 / python3.3 / virtualenv / cx_Freeze / Import Error / MAXREPEAT
python on mac
Python on Windbg
python in virtualenv
Install and run Python3.5 + NumPy + SciPy on Windows 10
Put MicroPython on Windows to run ESP32 on Python
Install Python3, numpy, pandas, matplotlib, etc. on Windows
(Windows) Causes and workarounds for UnicodeEncodeError on Python 3
Simply build a Python 3 execution environment on Windows
Notes on installing Python3 and using pip on Windows7
Install OpenCV 4.0 and Python 3.7 on Windows 10 with Anaconda
[Python] How to install OpenCV on Anaconda [Windows]
[Note] Installing Python 3.6 + α on Windows and RHEL
Installing TensorFlow on Windows Easy for Python beginners
Create a Python virtual development environment on Windows
Install ZIP version Python and pip on Windows 10
Python conda on cygwin
Install python on WSL
PyOpenGL setup on Python 3
Install Python on Pidora.