Installation¶Python Mapper does not contain any platform-specific code and depends only on cross-platform packages. Hence, it should run on almost all modern operating systems. So far, installation has been tested under:
See the OS-specific pages here: If you install Python Mapper on a certain platform not in the list above, please let me (Daniel) know so that I can extend the list. Especially if you needed to tweak or modify something, I am interested to know about it. Requirements¶
For the GUI: Highly recommended:
Standard installation¶Simply type $ pip install mapper --user
on a command line. If everything worked, you may stop here and start using Mapper. The steps below describe alternatives and optional steps. Source distribution¶If the simple method above does not work, the source distribution of Python Mapper can be downloaded here: Download link for Python Mapper Since Python Mapper is not stable yet and under active development, the distribution will be updated frequently. If you want to follow updates more easily and avoid to install the same package over and over again, it is recommended to use the Mercurial repository. Create a local copy of the repository with: $ hg clone http://danifold.net/hg/mapper
To update the repository, type: $ cd mapper
$ hg pull
$ hg up
Installation from source¶The Python Mapper archive can be extracted anywhere. There is a setup script in the $ python setup.py install --user
Alternatively, no real installation is necessary. Python just needs to know the location of the package. For this, add the directory where the files were extracted to Python’s search path. (Ie., add the directory which contains Users may also want to add a link to the export PATH="${PATH+$PATH:}$HOME/.local/bin"
so I can add a link to the GUI by: $ cd ~/.local/bin
$ ln -s (MAPPER PATH)/bin/MapperGUI.py
Troubleshooting¶If the GUI refuses to start with an error message like /usr/bin/env: python2: No such file or directory
there are three ways to deal with the problem:
|
|