Install the virtual environment using the PIP install Virtualenv, after installation,
Perform virtualenv django_test to create a virtual environment that occurs when you create an error such as ASCII below
G:\>virtualenv Test
New python executable in Test\scripts\python.exe
Installing Setuptools, Pip, Wheel ...
Complete output from command G:\test\Scripts\python.exe-c "import sys, PIP;" S
Ys...d\ "] + sys.argv[1:])" Setuptools pip wheel:
Ignoring indexes:https://pypi.python.org/simple
Collecting Setuptools
The repository located at None of a trusted or secure host and is being IG
Nored. If This repository was available via HTTPS it is recommended to use HTTPS
Instead, otherwise you silence this warning and allow it anyways with '--tru
Sted-host None '.
The repository located at None of a trusted or secure host and is being IG
Nored. If This repository was available via HTTPS it is recommended to use HTTPS
Instead, otherwise you silence this warning and allow it anyways with '--tru
Sted-host None '.
The repository located at None of a trusted or secure host and is being IG
Nored. If This repository was available via HTTPS it is recommended to use HTTPS
Instead, otherwise you silence this warning and allow it anyways with '--tru
Sted-host None '.
The repository located at None of a trusted or secure host and is being IG
Nored. If This repository was available via HTTPS it is recommended to use HTTPS
Instead, otherwise you silence this warning and allow it anyways with '--tru
Sted-host None '.
The repository located at None of a trusted or secure host and is being IG
Nored. If This repository was available via HTTPS it is recommended to use HTTPS
Instead, otherwise you silence this warning and allow it anyways with '--tru
Sted-host None '.
The repository located at None of a trusted or secure host and is being IG
Nored. If This repository was available via HTTPS it is recommended to use HTTPS
Instead, otherwise you silence this warning and allow it anyways with '--tru
Sted-host None '.
Could not find a version this satisfies the requirement setuptools (from Versi
ONS:)
No matching distribution found for Setuptools
----------------------------------------
... Installing Setuptools, Pip, Wheel...done.
Traceback (most recent call last):
File "D:\program files\python27\scripts\virtualenv-script.py", line 9, in <mod
Ule>
Load_entry_point (' virtualenv==13.1.0 ', ' console_scripts ', ' virtualenv ') ()
File "D:\Program files\python27\lib\site-packages\virtualenv-13.1.0-py2.7.egg\
virtualenv.py ", line 832, in main
Symlink=options.symlink)
File "D:\Program files\python27\lib\site-packages\virtualenv-13.1.0-py2.7.egg\
virtualenv.py ", line 1004, in Create_environment
Install_wheel (To_install, py_executable, Search_dirs)
File "D:\Program files\python27\lib\site-packages\virtualenv-13.1.0-py2.7.egg\
virtualenv.py ", line 969, in Install_wheel
' Pip_no_index ': ' 1 '
File "D:\Program files\python27\lib\site-packages\virtualenv-13.1.0-py2.7.egg\
virtualenv.py ", line 910, in Call_subprocess
% (Cmd_desc, Proc.returncode))
Oserror:command G:\test\Scripts\python.exe-c "Import sys, PIP;" sys...d\ "] + sy
S.argv[1:]) "Setuptools PIP wheel failed with error code 1
Use the following statement to create a
Virtualenv Test--no-setuptools--no-pip--no-wheel
After the success of the creation
Use Test\scripts\activate to enter virtual environments
Note: Test is the address of the currently created virtual environment
The previous (test) and the corresponding directories will appear
Create complete
Use Exit to exit