...
Code Block |
---|
|
# Get anaconda or miniconda on your own, then:
> conda create --name st_test -c conda-forge python=2
# Do not activate the environment yet, do this first:
> conda install --name st_test -c conda-forge -c fermi_conda_forge numpy scipy ipython fermistfermitools
# Now you can activate
> source activate st_test |
Using python scripts
Python modules are now under the "fermist" package, so in general an import like this:
Code Block |
---|
|
import BinnedAnalysis |
will fail. You should instead do:
Code Block |
---|
|
from fermist import BinnedAnalysis |
...
Code Block |
---|
|
> fermist_compatibility_mode_on |
This will put the `fermist` package in the `$PYTHONPATH` variable and it will allow you to import python modules as above. You can then deactivate it with:
Code Block |
---|
|
> fermist_compatibility_mode_off |
Known issues
-
The MINUIT minimizer does not work. It crashes with this message: (Solved)
Code Block |
---|
startio: illegal unit number
apparent state: unit 6 Segmentation fault (core dumped) |
...