Moved comment on running rtv as a module to the FAQ section.

This commit is contained in:
Michael Lazar
2015-09-20 21:27:51 -07:00
parent 6cc744bf91
commit 80bf45078a

View File

@@ -46,13 +46,6 @@ The installation will place a script in the system path
$ rtv
$ rtv --help
If you're having issues running RTV with Python 2, run RTV as module :
.. code-block:: bash
$ cd /path/to/rtv
$ python2 -m rtv
=====
Usage
=====
@@ -201,6 +194,21 @@ Example **oauth.cfg**:
[oauth]
auto_login=false
===
FAQ
===
How do I run the code directly using python?
This project is structured to be run as a python *module*. This means that in order to resolve imports you need to launch using python's ``-m`` flag. This method works for all versions of python. Follow the example below, which assumes that you have cloned the repository into the directory **~/rtv_project**.
.. code-block:: bash
$ cd ~/rtv_project
$ python2 -m rtv
$ python3 -m rtv
=========
Changelog
=========