diff --git a/readme.md b/readme.md index 95b8e628..614d8dce 100644 --- a/readme.md +++ b/readme.md @@ -34,11 +34,12 @@ See [instamatic-dev/instamatic-tecnai-server](https://github.com/instamatic-dev/ ## Installation -If you use conda, create a new environment: +If you use conda, create a new environment with a supported version of python. For maximum convenience, install basic libraries as well as `pycifrw` from conda forge: ``` -conda create -n instamatic python=3.11 +conda create -n instamatic python=3.12 conda activate instamatic +conda install numpy matplotlib pycifrw -c conda-forge ``` Install using pip, works with python versions 3.9 or newer: @@ -47,9 +48,11 @@ Install using pip, works with python versions 3.9 or newer: pip install instamatic ``` +Please mind that one of the indirect Instamatic dependencies, PyCifRW, requires Microsoft Visual C++ 14.0 or greater to compile properly. For this reason, when installing instamatic directly from pip, these build tools must be available on the system to succeed. Installing precompiled `pycifrw` from conda-forge circumvents this issue. + ## OS requirement -The package requires Windows 7 or higher. It has been mainly developed and tested under Windows 7 and higher. +The package requires Windows 7 or higher. It has been mainly developed and tested under Windows 7 and higher. Client and camera server installation were shown to successfully run on Unix-based systems but may require additional care. Microscope server installations require Windows OS for communication with the TEM. ## Package dependencies diff --git a/src/instamatic/config/autoconfig.py b/src/instamatic/config/autoconfig.py index 96ef2fe2..d9da9165 100644 --- a/src/instamatic/config/autoconfig.py +++ b/src/instamatic/config/autoconfig.py @@ -206,7 +206,7 @@ def main(): print(f' 1. Check and update the pixelsizes in `{calib_config_fn}`') print(' - In real space, pixelsize in nm') print(' - In reciprocal space, pixelsize in px/Angstrom') - print(f' 2. Check and update magnification ranges in `{microscope_config_fn}`') + print(f' 2. Check and update magnification ranges in `{tem_config_fn}`') if __name__ == '__main__':