Project

General

Profile

Sinedon Changes 36 » History » Version 2

Anchi Cheng, 03/29/2022 12:15 PM

1 1 Anchi Cheng
h1. Sinedon Changes 36
2
3
We switch to use pymysql in 3.6 version.  This merged in changes in myami-pymysql branch.  pymysql has ping and reconnect built-in that keeps query from having time-out error.
4
5
Additional module is therefore needed:
6
7
<pre>
8
pip install PyMySQL==0.10.1
9
</pre>
10
11 2 Anchi Cheng
On the Windows PC, if you are using python 2.7.3 or other old python 2.7 versions that do not include pip, you will need to reinstall 2.7.16 or 2.7.18 that you will find under "Files" tab in this redmine site.  All the other supporting packages are still usable but need to be installed into the new python.
12 1 Anchi Cheng
13 2 Anchi Cheng
See [[Install_pymysql_on_Windows_PC]] for how to use the wheel file to do pip install since instruments are usually not connected to internet.
14 1 Anchi Cheng
15
If you'd rather not to reinstall, you can continue using the old sinedon by copying all *.py files in the old subpackage to the new one.