- Make sure OSKAR itself has been built and installed.
- If necessary, edit the file
setup.cfgto set the paths to the OSKAR header and library installed on the system. - From a terminal prompt in this directory, install the Python
interface using
pip install --user .- Note the final dot on the line above!
- The
--userflag is optional, but you may need root permission without it.
After installation using the steps above, the OSKAR Python interface can
be uninstalled using pip uninstall oskarpy
- Both Python 2.7 and Python 3 are supported.
- Some examples showing how the Python interface can be used are shown
in
examples/sim*andexamples/spead.