Académique Documents
Professionnel Documents
Culture Documents
316]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\Imat>python
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
Use exit() or Ctrl-Z plus Return to exit
>>> exit()
C:\Users\Imat>pip --version
pip 18.1 from c:\users\imat\appdata\local\programs\python\python37-32\lib\site-packages\pip
(python 3.7)
C:\Users\Imat>pip --version
pip 19.0.3 from c:\users\imat\appdata\local\programs\python\python37-32\lib\site-packages\pip
(python 3.7)
C:\Users\Imat>virtualenv -v
You must provide a DEST_DIR
Usage: virtualenv [OPTIONS] DEST_DIR
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-v, --verbose Increase verbosity.
-q, --quiet Decrease verbosity.
-p PYTHON_EXE, --python=PYTHON_EXE
The Python interpreter to use, e.g.,
--python=python3.5 will use the python3.5 interpreter
to create the new environment. The default is the
interpreter that virtualenv was installed with (c:\use
rs\imat\appdata\local\programs\python\python37-32\pyth
on.exe)
--clear Clear out the non-root install and start from scratch.
--no-site-packages DEPRECATED. Retained only for backward compatibility.
Not having access to global site-packages is now the
default behavior.
--system-site-packages
Give the virtual environment access to the global
site-packages.
--always-copy Always copy files rather than symlinking.
--relocatable Make an EXISTING virtualenv environment relocatable.
This fixes up scripts and makes all .pth files
relative.
--no-setuptools Do not install setuptools in the new virtualenv.
--no-pip Do not install pip in the new virtualenv.
--no-wheel Do not install wheel in the new virtualenv.
--extra-search-dir=DIR
Directory to look for setuptools/pip distributions in.
This option can be used multiple times.
--download Download pre-installed packages from PyPI.
--no-download, --never-download
Do not download pre-installed packages from PyPI.
--prompt=PROMPT Provides an alternative prompt prefix for this
environment.
--setuptools DEPRECATED. Retained only for backward compatibility.
This option has no effect.
--distribute DEPRECATED. Retained only for backward compatibility.
This option has no effect.
--unzip-setuptools DEPRECATED. Retained only for backward compatibility.
This option has no effect.
C:\Users\Imat>virtualenv -V
Usage: virtualenv [OPTIONS] DEST_DIR
C:\Users\Imat>virtualenv --version
16.4.3
C:\Users\Imat>D:
D:\>cd PYTHON
D:\PYTHON>virtualenv djangoenv
Using base prefix 'c:\\users\\imat\\appdata\\local\\programs\\python\\python37-32'
New python executable in D:\PYTHON\djangoenv\Scripts\python.exe
Installing setuptools, pip, wheel...
done.
D:\PYTHON>dir
Volume in drive D is New Volume
Volume Serial Number is 9C37-4537
Directory of D:\PYTHON
D:\PYTHON>.\djangoenv\Scripts\activate
Directory of D:\PYTHON
(djangoenv) D:\PYTHON\test_project>code .
(djangoenv) D:\PYTHON\test_project>