Getting Mechanica¶
The easiest way to install Mechanica for most users is via PIP. We presently have PIP binaries for Windows and MacOS. We do have a Ubuntu 18.04 pip wheels, available on GitHub, but these are not on PyPi because they are not “manylinux” compatible.
Mechanica requires at least Python version 3.7.0, on Mac you can install Python a variety of ways, but we typicaly use Brew, https://brew.sh.
Note
Spyder has a pretty complex architecture, and Spyder support is new. We’ve tried to test as best as we can, but this is alpha code, you may encounter issues.
Installing via pip for Mac and Windows¶
Note, we presently only have Windows and Mac PyPi packages.
Python comes with an inbuilt package management system, pip. Pip can install, update, or delete any official package. The PyPi home page for mechancia is
https://pypi.org/project/mechanica/.
You can install packages via the command line by entering:
python -m pip install --user mechanica
We recommend using an user install, sending the --user
flag to pip.
pip
installs packages for the local user and does not write to the system
directories.
Installing via pip for Linux¶
We presently only support Ubuntu 18.04, pip wheel binaries are here:
Download and run pip directly on this file.
Preferably, do not use sudo pip
, as this combination can cause problems.