User Tools

Site Tools


eman2:install:binaryinstallanaconda_2.91

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

eman2:install:binaryinstallanaconda_2.91 [2025/06/19 23:28] – created steveludtkeeman2:install:binaryinstallanaconda_2.91 [2025/06/20 04:09] (current) steveludtke
Line 15: Line 15:
 ====== Install ====== ====== Install ======
  
-<<Anchor(Linux)>> 
  
 ===== MacOS and Linux ===== ===== MacOS and Linux =====
Line 41: Line 40:
 ... ...
 ... ...
-unset %%__%%conda_setup+unset __conda_setup
 # <<< conda initialize <<< # <<< conda initialize <<<
  
Line 103: Line 102:
  15. In most cases you will want to install: [[https://bitbucket.org/vinay.sajip/pylauncher/downloads/|Python Launcher]]  ([[https://bitbucket.org/vinay.sajip/pylauncher/downloads/launchwin-1.0.1.6.msi|launchwin-1.0.1.6.msi]]).  15. In most cases you will want to install: [[https://bitbucket.org/vinay.sajip/pylauncher/downloads/|Python Launcher]]  ([[https://bitbucket.org/vinay.sajip/pylauncher/downloads/launchwin-1.0.1.6.msi|launchwin-1.0.1.6.msi]]).
  16. Run these programs to see if the install worked:  16. Run these programs to see if the install worked:
- <code>+<code>
 e2version.py e2version.py
 e2speedtest.py e2speedtest.py
Line 132: Line 131:
  
  20. Install OpenGL.  20. Install OpenGL.
- <code>#!highlight bash+<code bash>
 sudo apt update sudo apt update
 sudo apt install libsm-dev libxrender-dev build-essential libgl1-mesa-dev mesa-utils mesa-common-dev libglu1-mesa libglu1-mesa-dev mesa-utils sudo apt install libsm-dev libxrender-dev build-essential libgl1-mesa-dev mesa-utils mesa-common-dev libglu1-mesa libglu1-mesa-dev mesa-utils
Line 142: Line 141:
  
  22. Download and install LINUX binary, not windows binary! [[https://cryoem.bcm.edu/cryoem/downloads/view_eman2_version/32|Download EMAN2.91]], [[#Linux]].  22. Download and install LINUX binary, not windows binary! [[https://cryoem.bcm.edu/cryoem/downloads/view_eman2_version/32|Download EMAN2.91]], [[#Linux]].
- <code>#!wiki note 
 Make sure to follow the instructions for shell initialization using `conda-init`. Make sure to follow the instructions for shell initialization using `conda-init`.
-</code> 
  
  23. Start X Server and set environment variables.  23. Start X Server and set environment variables.
- <code>#!highlight bash+<code bash>
 export DISPLAY=:0 export DISPLAY=:0
 glxinfo | grep OpenGL glxinfo | grep OpenGL
Line 156: Line 153:
  
  24. Run these programs to see if the install worked:  24. Run these programs to see if the install worked:
- <code>#!highlight bash+<code>#!highlight bash
 e2version.py e2version.py
 e2speedtest.py e2speedtest.py
Line 185: Line 182:
       * Installation depends on linux distribution, try your package manager for CUDA and/or CUDA-toolkit, for example, on Ubuntu 16.10:       * Installation depends on linux distribution, try your package manager for CUDA and/or CUDA-toolkit, for example, on Ubuntu 16.10:
  
-   <code>+<code>
 apt-get install nvidia-cuda-toolkit apt-get install nvidia-cuda-toolkit
 </code> </code>
   * If the version of CUDA you have installed is incomparible, then you will need to get a compatible tensorflow installed in your Anaconda environment. Here is one possible suggestion:   * If the version of CUDA you have installed is incomparible, then you will need to get a compatible tensorflow installed in your Anaconda environment. Here is one possible suggestion:
- <code>+<code>
 conda remove tensorflow-gpu tensorflow-gpu-base conda remove tensorflow-gpu tensorflow-gpu-base
 pip install cython pip install cython
Line 195: Line 192:
 # read any messages carefully, if there are errors you may need other installations # read any messages carefully, if there are errors you may need other installations
 </code> </code>
- <code>+<code>
 [dnn] [dnn]
 enabled=False enabled=False
Line 201: Line 198:
  
  . If you get a very long string of errors a few seconds after trying to train a network, and see references to "narrowing" in the errors, this probably means your C++ compiler is newer than Theano expects. You can try adding the following to your .theanorc file:  . If you get a very long string of errors a few seconds after trying to train a network, and see references to "narrowing" in the errors, this probably means your C++ compiler is newer than Theano expects. You can try adding the following to your .theanorc file:
- <code>+<code>
 [gcc] [gcc]
 cxxflags = -Wno-narrowing cxxflags = -Wno-narrowing
 </code> </code>
  
eman2/install/binaryinstallanaconda_2.91.txt · Last modified: by steveludtke