File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -99,21 +99,21 @@ It solves the "Project X depends on version 1.x but, Project Y needs 4.x" dilemm
9999
100100`virtualenv <http://www.virtualenv.org/en/latest/index.html >`_ creates
101101a folder which contains all the necessary executables to contain the
102- packages that a Python project would need. An example workflow:
102+ packages that a Python project would need. An example workflow is given.
103103
104- Install virtualenv:
104+ Install virtualenv
105105
106106::
107107
108108 $ pip install virtualenv
109109
110- or, depending on what's available:
110+ or, depending on what's available
111111
112112::
113113
114114 $ easy_install virtualenv
115115
116- Create a virtual environment for a project:
116+ Create a virtual environment for a project
117117
118118::
119119
@@ -142,11 +142,14 @@ The name of the current virtual environment will now appear on the left
142142of the prompt (e.g. ``(venv)Your-Computer:your_project UserName$ ``) to
143143let you know that it's active. From now on, any package that you install
144144using ``pip `` will be placed in the venv folder, isolated from the global
145- Python installation.
145+ Python installation. Install packages as usual.
146+
147+ ::
148+ $ pip install requests
146149
147150To stop using an environment simply type ``deactivate ``. To remove the
148151environment, just remove the directory it was installed into. (In this
149- case, it would be ``rm -rf venv ``.
152+ case, it would be ``rm -rf venv ``) .
150153
151154Other Notes
152155~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments