Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Python Game Programming By Example

You're reading from   Python Game Programming By Example A pragmatic guide for developing your own games with Python

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher
ISBN-13 9781785281532
Length 230 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Setting up OpenCV and other dependencies


This chapter's project will work with OpenCV 2.x or 3.x and Python 2.7 or 3.4. Note that OpenCV 2.x does not support Python 3.x. However, on most Linux systems, it is more convenient to install OpenCV 2.x (and use Python 2.7) because OpenCV 3.x does not have binary packages for most Linux systems yet.

The following subsections cover only the simplest ways to set up our dependencies on Windows, Mac, and several Linux distributions. Other approaches (and other Unix-like platforms) can also work. For example, advanced users may wish to configure and build OpenCV 3.0's source code on Linux systems that do not yet have prepackaged builds of OpenCV 3.x. For guidance on alternative setups, refer to one of Packt Publishing's dedicated books on OpenCV, such as Learning OpenCV 3 Computer Vision with Python by Joe Minichino and Joseph Howse.

Windows

Christoph Gohlke, from the University of California, Irvine, provides many reliable prebuilt versions of scientific...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime