eman2:install:sourceinstall
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| eman2:install:sourceinstall [2026/03/06 16:21] – steveludtke | eman2:install:sourceinstall [2026/11/09 23:26] (current) – steveludtke | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ---- | ---- | ||
| + | |||
| + | **Note: If you are installing EMAN2 on a Windows 11 machine, you __must__ install and set up [[https:// | ||
| + | |||
| + | ---- | ||
| + | |||
| **//WARNING FOR EXISTING USERS of EMAN >2.9//** - If your last source build was before 8/21/24, on that date we updated the eman-dev conda-forge dependencies to use Python 3.12. This Python version has some backwards incompatibility, | **//WARNING FOR EXISTING USERS of EMAN >2.9//** - If your last source build was before 8/21/24, on that date we updated the eman-dev conda-forge dependencies to use Python 3.12. This Python version has some backwards incompatibility, | ||
| * remove your current EMAN2 build folder (not the source, just the folder where you run make from) | * remove your current EMAN2 build folder (not the source, just the folder where you run make from) | ||
| Line 38: | Line 43: | ||
| * Install: | * Install: | ||
| - | < | + | < |
| bash < | bash < | ||
| </ | </ | ||
| Line 82: | Line 87: | ||
| - | < | + | < |
| - | conda create -n eman2 eman-dev --only-deps | + | conda create -n eman2 eman-dev --only-deps -c conda-forge |
| </ | </ | ||
| If, and ONLY if, you are installing on a headless machine without graphics, you can alternatively set up the **non-GUI** variant which will not have pyqt and pyopengl. Doing this will severely limit EMAN2' | If, and ONLY if, you are installing on a headless machine without graphics, you can alternatively set up the **non-GUI** variant which will not have pyqt and pyopengl. Doing this will severely limit EMAN2' | ||
| - | < | + | < |
| - | conda create -n eman2 ' | + | conda create -n eman2 ' |
| </ | </ | ||
| Line 99: | Line 104: | ||
| Linux + NVidia GPU: | Linux + NVidia GPU: | ||
| - | < | + | < |
| conda activate eman2 | conda activate eman2 | ||
| - | pip install " | + | pip install " |
| </ | </ | ||
| Mac or other non-Nvidia: | Mac or other non-Nvidia: | ||
| - | < | + | < |
| conda activate eman2> | conda activate eman2> | ||
| pip install jax optax | pip install jax optax | ||
| Line 194: | Line 199: | ||
| Solutions to potential known problems will be listed here. If these don't help, please report your problem (http:// | Solutions to potential known problems will be listed here. If these don't help, please report your problem (http:// | ||
| + | * **Linux** | ||
| + | * On recent linux installs (2025+) when running a tensorflow program you may encounter an error like **ImportError: | ||
| + | * This command may help in some situations: //patchelf --clear-execstack $CONDA_PREFIX/ | ||
| * **macOS** Users (bash only) | * **macOS** Users (bash only) | ||
| * On macOS, installation modifies // | * On macOS, installation modifies // | ||
eman2/install/sourceinstall.1772814071.txt.gz · Last modified: by steveludtke
