Project

General

Profile

Windows Installation All » History » Version 60

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