postpic
can be easily installed using pip
. Therefore on any maching with access to the internet, you can use the following command to install postpic from its current master:
!pip install --user git+https://github.com/skuschel/postpic.git
Collecting git+https://github.com/skuschel/postpic.git Cloning https://github.com/skuschel/postpic.git to /tmp/pip-2g4aw584-build Requirement already satisfied: matplotlib>=1.3 in /usr/lib/python3.6/site-packages (from postpic==0.3.1+318.ga7cb0c4) Requirement already satisfied: numpy>=1.8 in /usr/lib/python3.6/site-packages (from postpic==0.3.1+318.ga7cb0c4) Requirement already satisfied: scipy in /usr/lib/python3.6/site-packages (from postpic==0.3.1+318.ga7cb0c4) Requirement already satisfied: future in /usr/lib/python3.6/site-packages (from postpic==0.3.1+318.ga7cb0c4) Requirement already satisfied: urllib3 in /usr/lib/python3.6/site-packages (from postpic==0.3.1+318.ga7cb0c4) Requirement already satisfied: numexpr in /usr/lib/python3.6/site-packages (from postpic==0.3.1+318.ga7cb0c4) Requirement already satisfied: cython>=0.18 in /usr/lib/python3.6/site-packages (from postpic==0.3.1+318.ga7cb0c4) Requirement already satisfied: six>=1.10 in /usr/lib/python3.6/site-packages (from matplotlib>=1.3->postpic==0.3.1+318.ga7cb0c4) Requirement already satisfied: python-dateutil>=2.1 in /usr/lib/python3.6/site-packages (from matplotlib>=1.3->postpic==0.3.1+318.ga7cb0c4) Requirement already satisfied: pytz in /usr/lib/python3.6/site-packages (from matplotlib>=1.3->postpic==0.3.1+318.ga7cb0c4) Requirement already satisfied: cycler>=0.10 in /usr/lib/python3.6/site-packages (from matplotlib>=1.3->postpic==0.3.1+318.ga7cb0c4) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/lib/python3.6/site-packages (from matplotlib>=1.3->postpic==0.3.1+318.ga7cb0c4) Installing collected packages: postpic Found existing installation: postpic 0.3.1+316.gf681508 Uninstalling postpic-0.3.1+316.gf681508: Successfully uninstalled postpic-0.3.1+316.gf681508 Running setup.py install for postpic ... done Successfully installed postpic-0.3.1+318.ga7cb0c4
Please note, that you should already have installed general python computation packages as numpy, cython, numexpr matplotlib or scipy.
In order to check, if the installation was successfull try to import postpic and print the version string.
The Version string constists of the last tagged version followed by +{N}.g{hash}
, where N
is the number of commits after the tag and hash
is the hash of the commit.
import postpic as pp
print(pp.__version__)
v0.3.1+318.ga7cb0c4