The following versions of Python can be used: 3.4, 3.5, 3.6.
We recommend setting up a virtual environment with Python 3.6 for using or developing CarpeDM.
$ virtualenv -p /path/to/python3 ~/.virtualenvs/carpedm $ source ~/.virtualenvs/carpedm/bin/activate
Or, for Conda:
$ conda create --name carpedm python=3.6 $ conda activate carpedm
CarpeDM is built and tested on MacOS. We cannot guarantee that it works on other environments, including Windows and Linux.
Before installing CarpeDM, we recommend to upgrade
setuptools if you are using an old one:
$ pip install -U setuptools
The following Python packages are required to install CarpeDM. The latest version of each package will automatically be installed if missing.
The following packages are optional dependencies.
Plot and images support
- matplotlib 2.1.2, 2.2.2
Install CarpeDM via pip¶
We recommend installing the latest release of CarpeDM with pip:
$ pip install carpedm
Any optional dependencies can be added after installing CarpeDM. Please refer to Optional Dependencies.
Install CarpeDM from Source¶
You can install a development version of CarpeDM from a cloned Git repository:
$ git clone https://github.com/SimulatedANeal/carpedm.git $ cd carpedm $ python setup.py develop
Use pip to uninstall CarpeDM:
$ pip uninstall carpedm
$ pip install -U carpedm