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
Copy file name to clipboardExpand all lines: docs/dependencies-macos.md
+3-23
Original file line number
Diff line number
Diff line change
@@ -62,32 +62,12 @@ make && make install
62
62
63
63
### Install Python Libraries
64
64
65
-
We recommend using a [virtual environment](https://docs.python.org/3/tutorial/venv.html) for running Pupil.
65
+
We recommend using a [virtual environment](https://docs.python.org/3/tutorial/venv.html) for running Pupil. To install all Python dependencies, you can use the [`requirements.txt`](https://github.com/pupil-labs/pupil/blob/master/requirements.txt) file from the root of the `pupil` repository.
66
66
67
67
```sh
68
68
# Upgrade pip to latest version. This is necessary for some dependencies.
**NOTE:** Installing **pyglui** might fail on newer versions of **macOS** due to missing OpenGL headers. In this case, you need to install Xcode which comes with the required header files.
Copy file name to clipboardExpand all lines: docs/dependencies-ubuntu17.md
+3-23
Original file line number
Diff line number
Diff line change
@@ -152,32 +152,12 @@ sudo ldconfig
152
152
153
153
### Install Python Libraries
154
154
155
-
We recommend using a [virtual environment](https://docs.python.org/3/tutorial/venv.html) for running Pupil.
155
+
We recommend using a [virtual environment](https://docs.python.org/3/tutorial/venv.html) for running Pupil. To install all Python dependencies, you can use the [`requirements.txt`](https://github.com/pupil-labs/pupil/blob/master/requirements.txt) file from the root of the `pupil` repository.
156
156
157
157
```sh
158
158
# Upgrade pip to latest version. This is necessary for some dependencies.
**NOTE**: If you get the error `ImportError: No module named 'cv2'` when trying to run Pupil, please refer to the section [OpenCV Troubleshooting](#opencv-troubleshooting) above.
Copy file name to clipboardExpand all lines: docs/dependencies-ubuntu18.md
+3-23
Original file line number
Diff line number
Diff line change
@@ -63,32 +63,12 @@ sudo udevadm trigger
63
63
64
64
### Install Python Libraries
65
65
66
-
We recommend using a [virtual environment](https://docs.python.org/3/tutorial/venv.html) for running Pupil.
66
+
We recommend using a [virtual environment](https://docs.python.org/3/tutorial/venv.html) for running Pupil. To install all Python dependencies, you can use the [`requirements.txt`](https://github.com/pupil-labs/pupil/blob/master/requirements.txt) file from the root of the `pupil` repository.
67
67
68
68
```sh
69
69
# Upgrade pip to latest version. This is necessary for some dependencies.
Copy file name to clipboardExpand all lines: docs/dependencies-windows.md
+4-38
Original file line number
Diff line number
Diff line change
@@ -48,51 +48,17 @@ If you downloaded the linked installer:
48
48
- Check the box `Add Python to PATH`. This will add Python to your System PATH Environment Variable.
49
49
- Check the box `Install for all users`. **Note:** By default this will install Python to `C:\Program Files\Python36`. Some build scripts may fail to start Python due to spaces in the path name. So, you may want to consider installing Python to `C:\Python36` instead.
50
50
51
-
52
51
## Install Python Libraries
53
52
54
-
We recommend using a [virtual environment](https://docs.python.org/3/tutorial/venv.html) for running Pupil.
53
+
We recommend using a [virtual environment](https://docs.python.org/3/tutorial/venv.html) for running Pupil. To install all Python dependencies, you can use the [`requirements.txt`](https://github.com/pupil-labs/pupil/blob/master/requirements.txt) file from the root of the `pupil` repository.
55
54
56
55
```sh
57
56
# Upgrade pip to latest version. This is necessary for some dependencies.
In addition to these libraries, you will need to install some Pupil-Labs support libraries. Since building them for Windows is also not automated yet, we provide some prebuilt wheels that you can use. If you want to build the support libraries yourself as well, you will have to look for install instructions on the respective GitHub repositories.
82
-
83
-
Download the following Python wheels from Pupil Labs github repos:
`pyuvc` requires that you download Microsoft Visual C++ 2010 Redistributable from [microsoft](https://www.microsoft.com/en-us/download/details.aspx?id=14632). The `pthreadVC2` lib, which is used by libuvc, depends on `msvcr100.dll`.
91
-
92
-
Open your command prompt and `Run as administrator` in the directory where the wheels are downloaded.
93
-
94
-
- Install all wheels with `pip install X` (where X is the name of the `.whl` file)
95
-
- You can check that libs are installed with `python import X` statements in the command prompt where `X` is the name of the lib.
61
+
**NOTE:**`pyuvc` requires that you download Microsoft Visual C++ 2010 Redistributable from [microsoft](https://www.microsoft.com/en-us/download/details.aspx?id=14632). The `pthreadVC2` lib, which is used by libuvc, depends on `msvcr100.dll`.
0 commit comments