Skip to content

Commit aee8a9f

Browse files
authored
Update virtualenvs.rst
1 parent a554f0f commit aee8a9f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/dev/virtualenvs.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ from your command line. You can check this by simply running:
2424

2525
.. code-block:: bash
2626
27-
python --version
27+
$ python --version
2828
2929
You should get some output like ``3.6.2``. If you do not have Python, please
3030
install the latest 3.x version from `python.org`_ or refer to the
31-
`Installing Python`_ section of the Hitchhiker's Guide to Python.
31+
`Installing Python`_ section of this guide.
3232

3333
.. Note:: If you're newcomer and you get an error like this:
3434

@@ -49,7 +49,7 @@ check this by running:
4949

5050
.. code-block:: bash
5151
52-
pip --version
52+
$ pip --version
5353
5454
If you installed Python from source, with an installer from `python.org`_, or
5555
via `Homebrew`_ you should already have pip. If you're on Linux and installed
@@ -75,7 +75,7 @@ Use ``pip`` to install Pipenv:
7575

7676
.. code-block:: python
7777
78-
pip install --user pipenv
78+
$ pip install --user pipenv
7979
8080
8181
.. Note:: This does a `user installation`_ to prevent breaking any system-wide
@@ -104,8 +104,8 @@ tutorial) and run:
104104

105105
.. code-block:: bash
106106
107-
cd myproject
108-
pipenv install requests
107+
$ cd myproject
108+
$ pipenv install requests
109109
110110
Pipenv will install the excellent `Requests`_ library and create a ``Pipfile``
111111
for you in your project's directory. The :ref:`Pipfile` is used to track which
@@ -161,7 +161,7 @@ Then you can run this script using ``pipenv run``:
161161

162162
.. code-block:: bash
163163
164-
pipenv run python main.py
164+
$ pipenv run python main.py
165165
166166
You should get output similar to this:
167167

0 commit comments

Comments
 (0)