Development Stack Installation¶
Written by Aric Sanders, 01/2016
- Primary OS was Windows 7 64 Bit
- Pieces were tested on Ubuntu 14.04
Git Installation¶
- Download and install Git
- Git is a version control program
- Github and bitbucket are good places to put repositories
Python Base Installation¶
- Install Anaconda
- Use the python 2.7 installer
- This installs a large number of packages
- Includes Jupyter, which is a mathematica style notebook for python.
- A good overview of jupyter's capability can be found here
- in ubuntu down load the Anaconda package, from the directory run bash Anaconda....sh
- Install PyCharm, Communtity Edition is free
- Pycharm is an IDE (Integrated Development Environment) for python
- It integrates very well with git, and it includes very good tools for
working with code, if you install git first it will autodetect it.
- Requires OpenJDK to be installed. The ubuntu command is sudo apt-get install openjdk-7-jre or JRE ( Windows ) to be installed.
Python Package Installation¶
For python packages using pip¶
\$ pip install package, in ubuntu make sure you are a superuser, i.e. sudo
or in python code
import os
os.system(r'pip install pyvisa')
- Install Pdoc
- pdoc makes an html page given an import-able module
- pdoc.html('os') or a text version pdoc.text('os')
- Install NIVisa
- NIVISA requires regstration but is free
- It allows communication through several methods including GPIB
- This is not a python package but you need it for pyvisa,
pyvisa-py looks to be a potential alternative.
- Install pyvisa
- Install Django
- Install WxPython, not pip but there are prebuilt binaries
- Install odo, pip install has errors on ubuntu.
- Install django-registration and change registration/forms.py to include first_name and last_name on the user form
- at a command prompt: pip install django-registration
- Install django-bootstrap-breadcrumbs
- at a command prompt: pip install django-bootstrap-breadcrumbs
- Install markdown
- at a command prompt: pip install markdown
Install Boa Constructor for Wx FrontEnds creations now I have a github repository for this (https://github.com/aricsanders/boa).
Install pythonnet This allows python to use .net assemblies
Install Jpype, pip install JPype1
- Install pdfkit, pip install pdfkit, requires wkhtmltopdf
Inkscape Installation¶
- Download and install Inkscape
- Inkscape is a svg (scalable vector graphics) editor
- In ubuntu use sudo apt-get install inkscape at a terminal
Open Office Installation¶
- Download and install open office
- Open office can be scripted through pyuno to convert many formats
- This is really optional, any office suite with html conversion will work
- Ultimately the idea is to use unoconv
Visual Studios¶
- Download and Install Visual Studio Community , this is optional and used primarily for inspecting the source code of StatistiCAL and MUF.
Notepad ++¶
- Download and Install Notepad++, this is optional but helps when you need to view random files.
StatistiCAL and MUF¶
- Download and Install StatistiCAL and MUF
- for calibration and uncertainty analysis for multi-port RF measurements
- currently only for windows, but may work with Mono