Wiki

Clone wiki

pypsdier / Installation

Installation

There are 3 main ways to install pypsdier. We encourage to use the first way: using pip.

1- PIP

  • Requirements: python and pip.

  • Pro: Latest stable version. Can install and uninstall easily.

  • Cons: Requires pip to be installed, which can be tough in windows.

  • How-to: If you have python and pip working, you should get then matplotlib, numpy, scipy and xlwt. Use the following commands (omit the sudo if in Windows):

#!bash
sudo pip install matplotlib
sudo pip install numpy
sudo pip install scipy
sudo pip install xlwt
sudo pip install pypsdier

All dependencies should now be working.

2- Download section

  • Requirements: python, matplotlib, numpy, scipy and xlwt

  • Pro: Doesn't require pip to be installed.

  • Cons: Requires you to have previously installed the other required libraries and manually add the folder to the path.

  • How-to: Download the latest zip from the downloads section, and uncompress it to a convenient location. You must then add the location to the python path, so you can import the library from any other location.

3- Git

  • Requirements: git, python, matplotlib, numpy, scipy and xlwt

  • Pro: You get the latest version (not necesarily stable).

  • Cons: You must install everything on your own.

  • How-to: Download the latest zip from the downloads section, and uncompress it to a convenient location. You must then add the location to the python path, so you can import the library from any other location.

Testing the installation

Once pypsdier is installed, run the following code:

#!python
import pypsdier
pypsdier.test()

Updated