Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numpy version #2

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,23 @@ To run the source code, you will need Python 3.7 or newer! We target Python 3.11
Note: It is recommended to install the requirements into a
[virtual environment](https://docs.python.org/3/tutorial/venv.html).

Note: On arm64 macs (e.g. M1 MacBook Air), use the `python3.*-intel64` binary to create
the virtual environment. We do not yet provide arm64-native wheels for the Pupil Core
dependencies.
If you are on MacOS, then you will want to use Homebrew to install the following packages first (and then configure your environment appropriately):

```sh
brew install glew libusb-compat eigen opencv ffmpeg@5
export LDFLAGS="-L/opt/homebrew/opt/ffmpeg@5/lib:$LDFLAGS"
export CPPFLAGS="-I/opt/homebrew/opt/ffmpeg@5/include:$CPPFLAGS"
export PKG_CONFIG_PATH="/opt/homebrew/opt/ffmpeg@5/lib/pkgconfig:$PKG_CONFIG_PATH"
```

Then, you can proceed with the following commands on all systems:

```sh
git clone https://github.com/pupil-labs/neon-player.git
cd neon-player
python -m pip install -r requirements.txt
```

If you have trouble installing any of the dependencies, please see the corresponding
code repository for manual installation steps and troubleshooting.

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ click
glfw>=2.0.0
msgpack>=1.0.0
numexpr
numpy>=1.20.0
numpy>=1.20.0,2
opencv-python
packaging>=20.0,<22
psutil
Expand Down