Project

General

Profile

Windows Installation All » History » Version 64

Anchi Cheng, 01/10/2022 07:57 PM

1 1 Anchi Cheng
h1. Windows Installation
2
3 3 Anchi Cheng
* You need to repeat installation of the general packages for each of the computer involved in Leginon operation with addition for the camera and scope.
4
5 1 Anchi Cheng
6 44 Anchi Cheng
h2. Install Python and supporting packages with their installers.  *Only Gatan K2 computer uses 64-bit version of python*.
7 1 Anchi Cheng
8
{{include(Windows External Package installers)}}
9
10
Excute the installer files and follow the instructions.
11 34 Anchi Cheng
12
{{include(add host)}}
13 1 Anchi Cheng
14 62 Anchi Cheng
h2. What to do if host-ip mapping still does not work: [[configure_pyamicfg_for_host-ip_pairings]]
15 61 Anchi Cheng
16 63 Anchi Cheng
__________________
17
18 1 Anchi Cheng
h2. Install the Windows Installer Files from created from source by NRAMM
19
20
{{include(Windows Myami Package installers)}}
21
22 19 Anchi Cheng
23 1 Anchi Cheng
Execute the installer files and follow the instructions.
24
25 59 Anchi Cheng
h2. Install [[Windows_Package_Requirement_30#Cloning-myami-git-repository|the packages you cloned from NRAMM git repository]] (You will need to repeat this each time you upgdate)
26 1 Anchi Cheng
27 64 Anchi Cheng
The git checkout is a folder containing several subpackages.  You will install the python packages using python installer.  *See the next section if you want to use directly do git checkout*.
28 1 Anchi Cheng
29 56 Anchi Cheng
h2. These are the subpackages  
30 1 Anchi Cheng
31
|_.Name:|_.Purpose:|
32
| pyami|general functions|
33 60 Anchi Cheng
|myami_test|test suite|
34 1 Anchi Cheng
| sinedon|database interaction|
35 57 Anchi Cheng
| leginon|modular TEM image acquisition|
36 1 Anchi Cheng
| pyscope|microscope control and monitoring|
37
| imageviewer|image viewing for tomography|
38
39 41 Anchi Cheng
If you recall Linux processing server installation instruction, this is a bit different. Numextension and LibCV are not included.  Numextension is already installed with windows installer.  libcv and opencv are not required by Leginon client that this part installation is aimed for.
40 1 Anchi Cheng
41
* Start a command line Window from Start Menu
42
43
* Install the package in each folder with commands such as
44 57 Anchi Cheng
<pre>cd path_to\myami-VERSION\myami\pyami
45 1 Anchi Cheng
c:\\python27\python.exe setup.py install</pre>
46 57 Anchi Cheng
Then continue with the other packages, replacing pyami with the package name. See "These are the sub-packages of myami that you will install with the python installer." section above for complete list.
47 41 Anchi Cheng
48 48 Anchi Cheng
h2. (Alternative approach, easy for updating) Set environment variable PYTHONPATH to use svn checkout or git clone directly
49 41 Anchi Cheng
50 42 Anchi Cheng
{{include(set pythonpath environment variable for local myami sandbox)}}
51 41 Anchi Cheng
52 27 Anchi Cheng
53 5 Anchi Cheng
54 4 Anchi Cheng
______
55
56 52 Anchi Cheng
[[Windows_Package_Requirement_30|< Package Requirement]] | [[installation on the microscope computer 30|Additional installation specific to the microscope >]]
57 4 Anchi Cheng
58
______