Project

General

Profile

Windows Installation All » History » Version 61

Anchi Cheng, 11/15/2019 11:32 AM

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 61 Anchi Cheng
h2. What to do if host-ip mapping still does not work [[configure_pyamicfg_for_host-ip_pairings]]
15
16 1 Anchi Cheng
h2. Install the Windows Installer Files from created from source by NRAMM
17
18
{{include(Windows Myami Package installers)}}
19
20 19 Anchi Cheng
21 1 Anchi Cheng
Execute the installer files and follow the instructions.
22
23 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)
24 1 Anchi Cheng
25 47 Anchi Cheng
The svn 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 the git/svn checkout*.
26 1 Anchi Cheng
27 56 Anchi Cheng
h2. These are the subpackages  
28 1 Anchi Cheng
29
|_.Name:|_.Purpose:|
30
| pyami|general functions|
31 60 Anchi Cheng
|myami_test|test suite|
32 1 Anchi Cheng
| sinedon|database interaction|
33 57 Anchi Cheng
| leginon|modular TEM image acquisition|
34 1 Anchi Cheng
| pyscope|microscope control and monitoring|
35
| imageviewer|image viewing for tomography|
36
37 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.
38 1 Anchi Cheng
39
* Start a command line Window from Start Menu
40
41
* Install the package in each folder with commands such as
42 57 Anchi Cheng
<pre>cd path_to\myami-VERSION\myami\pyami
43 1 Anchi Cheng
c:\\python27\python.exe setup.py install</pre>
44 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.
45 41 Anchi Cheng
46 48 Anchi Cheng
h2. (Alternative approach, easy for updating) Set environment variable PYTHONPATH to use svn checkout or git clone directly
47 41 Anchi Cheng
48 42 Anchi Cheng
{{include(set pythonpath environment variable for local myami sandbox)}}
49 41 Anchi Cheng
50 27 Anchi Cheng
51 5 Anchi Cheng
52 4 Anchi Cheng
______
53
54 52 Anchi Cheng
[[Windows_Package_Requirement_30|< Package Requirement]] | [[installation on the microscope computer 30|Additional installation specific to the microscope >]]
55 4 Anchi Cheng
56
______