Getting started with Pyzo

_images/pyzo_conda.png

To get started with Pyzo, you need to install the Pyzo IDE (in which you write your code) and a Python environment (in which you run your code).

Step 1: install the Pyzo IDE

_images/download.png

Here are links to download:

Step 2: install Python environment

_images/download.png

To run Python code, you need a Python interpreter. Pyzo works with most Python interpreters, but we recommend installing miniconda, or anaconda if you intend to do science, because these make it very easy to install additional (scientific) packages. Make sure to use Python 3, and not Python 2.

Here are direct links to download:

We recommend installing in the default location, or at least a location that can be written to without admin privileges, so that addtional packages can be installed.

Step 2b: Tell Pyzo what environment to use

You can usually skip this step, because the environment is generally automatically detected. If this is not the case (e.g. it was not installed in the default location), just open the shell configuration dialog (menu > shell > edit shell configuration), and set the value of “exe” to the path of the Python executable.

Step 3: Install Scientific packages

For scienctific computing with Python, you need a few extra packages. In Pyzo’s shell, type:

conda install numpy

Hooray, you just installed a new package! Now type:

conda install scipy pyqt matplotlib pandas sympy

Now you have the most important scientific Python packages (a.k.a. the scipy-stack). If you need a package that is not yet installed, and the conda command does not work, see this guide.

Further steps

You should now be set up to start coding! You can also learn more about using the IDE and about using Python.

Updating

Pyzo and the Python environment can safely be updated/reinstalled independently from each-other. Similarly, you can install multiple Python environments and use/manage them all via Pyzo. Individual packages within a Python environment can be updated via conda update xx.