Installation¶
In order to install cpymad, please try:
pip install cpymad --only-binary cpymad
If this fails, it usually means that we haven’t uploaded wheels for your platform or python version. In this case, either ping us about adding a corresponding wheel, or refer to Building from source.
In case of success, check your installation by typing the following:
python -c "import cpymad.libmadx as l; l.start()"
The MAD-X banner should appear.
Note
The MacOS wheels are experimental and require Apple’s Accelerate framework to be installed on the user machine. Please let us know if there are problems with these.