This page has deprecated and will be archived. Please go to [[https://www.bitcraze.io/]]. ====== Setting-up python development environment ====== Up-to-date information on how to run the python client from source can be found in the project [[https://github.com/bitcraze/crazyflie-clients-python/blob/develop/README.md|readme]]. This page aims at being a more user-friendly walk-throw. ===== Windows ===== Install dependencies: - Python 2.7 32bit (x86) from https://www.python.org/downloads/windows/ - PyQT4 for Python 2.7 32bit from http://www.riverbankcomputing.com/software/pyqt/download - Scipy for Python 2.7 32bit from http://sourceforge.net/projects/scipy/files/scipy/ - PyQTGraph for Python 2.7 32bit from http://www.pyqtgraph.org/ To install python dependencies you can use PIP, a python package manager that is installed with python. To use it launch a Windows command line client by typing "windows key" then "cmd". In the command line windows type the following (you can copy-paste the lines): C:\Python27\Scripts\pip.exe install pyusb==1.0.0b2 C:\Python27\Scripts\pip.exe install pysdl2 {{:doc:crazyflie:dev:env:windows_install_pip.png|}} Download or clone the Crazyflie client. You can download a zip of the sourcec ode from [[https://github.com/bitcraze/crazyflie-clients-python|github]] or clone it using [[http://git-scm.com/downloads|git for windows]] or a [[http://git-scm.com/downloads/guis|git GUI client]]. Now that you have a copy of the Client source code, download SDL2 32bit from the SDL website (http://libsdl.org/download-2.0.php) and copy the file SDL2.dll in the source folder. You can now run the client from the command line window: cd C:\Python27\Python.exe bin\cfclient