Installing DryMass¶
DryMass is written in pure Python and supports Python version 3.5 and higher. DryMass depends on several other scientific Python packages, including:
- numpy,
- scikit-image (segmentation).
- qpimage (phase data manipulation),
- qpformat (file formats),
- qpsphere (refractive index analysis, segmentation),
To install DryMass, use one of the following methods (package dependencies will be installed automatically):
Upgrade¶
If you have installed on older version of DryMass and wish to upgrade to the latest version, use
pip uninstall drymass
followed by
pip install drymass
.
If you wish to install a specific version of DryMass (e.g. 0.1.0), use
pip install 'drymass==0.1.0'
.
Known issues¶
If you try to install from PyPI and get an error message similar to
“Could not find a version that satisfies the requirement drymass (from versions: )No matching distribution found for drymass”,please make sure that you are using Python version 3.5 or higher with
python --version
. If that is already the case, please runpip -vvv install drymass
and create an issue with the error messages (e.g. as a screenshot) that you get.If you are using Windows and the installation fails because scikit-image cannot be installed, e.g.
” Rolling back uninstall of scikit-imageCommand python.exe […] –compile failed with error code 1 in […]/scikit-image”,and you are using the Anaconda Python distribution, please install scikit-image via
conda install scikit-image
. If you are not using Anaconda, you can install one of the wheels provided by Christoph Gohlke (download e.g. “scikit_image‑0.13.1‑cp35‑cp35m‑win_amd64.whl” if you have installed the 64bit version of Python 3.5, navigate to the download directory and runpip install scikit_image‑0.13.1‑cp35‑cp35m‑win_amd64.whl
).