Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Installing

ShadowKyogre edited this page Jan 8, 2015 · 16 revisions

Linux

  • Install pyswisseph, PyQt, and python-dateutil through your distribution's package manager.
  • Download the master tarball or clone the git repository
  • Run with the following command:
/path/to/python3 main.py

Windows

Python 3:

  • follow instructions in installer

Pyswisseph: These instructions were only tested with version 1.76.00!

  • Install mingw (if 32bit) or TDW-GCC (if 64bit). Don't forget to set up a mingw instance using TDW-GCC if you're using that.
  • If you're on 64bit, install libpython for mingw-64 from http://www.lfd.uci.edu/~gohlke/pythonlibs/#libpython
  • download pyswisseph
  • edit the setup.py file to include the following for building the module:
extra_link_args = ['-lpthread']
  • If on 64bit, edit the os.system() calls to refer to mingw32-make to build the internal libswe library
  • If on 64bit, edit the Makefile to refer to gcc, not cc
  • build the module (ideally specifying the compiler to be MinGW) and install it
  • Now that the module is installed, get swisseph_18 and place the contents in c:\swisseph, since this is where it keeps the swisseph ephmeris files on windows

python-dateutil:

PyQt:

  • follow instructions in installer

Running the program itself:

  • Download the master tarball or clone the git repository
  • Run with the following command:
\path\to\python3 main.py
Clone this wiki locally