You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenTok Python SDK lets you generate `sessions <http://tokbox.com/opentok/tutorials/create-session/>`_ and
6
8
`tokens <http://tokbox.com/opentok/tutorials/create-token/>`_ for `OpenTok <http://www.tokbox.com/>`_ applications. This version of the SDK also includes support for working with OpenTok 2.0 archives.
7
9
8
10
9
-
## Installation
11
+
Installation
12
+
------------
13
+
14
+
Pip (recommended):
15
+
~~~~~~~~~~~~~~~~~~
16
+
17
+
Pip helps manage dependencies for Python projects using the PyPI index. Find more info here:
18
+
http://www.pip-installer.org/en/latest/
19
+
20
+
Add the opentok package as a dependency in your project. The most common way is to add it to your
21
+
requirements.txt file::
22
+
23
+
opentok>=2.2
10
24
11
-
To install from PyPi using [pip](http://www.pip-installer.org/en/latest/), a package manager for Python.
12
-
<pre>
13
-
pip install opentok
14
-
</pre>
25
+
Next, install the dependencies::
15
26
16
-
If you get "Permission Denied" errors try running it with `sudo` in front:
17
-
<pre>
18
-
sudo pip install opentok
19
-
</pre>
27
+
$ pip install -r requirements.txt
20
28
21
-
You can download the OpenTok Python SDK from GitHub:
0 commit comments