zipgateway-2-61-0的安装
http://zts.sigmadesigns.com/documentation/zipgateway-2-61-0-docs
能够在ubuntu上打开pyzip
Installing on Ubuntu Linux
Note
If you are planning to run Pyzip from the Z/IP Gateway Virtual Machine, you need to do following steps inside that Virtual Machine.
Download the Pyzip sources from the Z-Wave technical support website.
Uncompress the Pyzip sources
$ unzip pyzip_ver1_11b.zip
Change directory to uncompressed sources
$ cd pyzip
Set the PYTHONPATH to where the Pyzip sources are uncompressed
$ export PYTHONPATH=$PWD
Install dependencies Note: You can skip this step if you are using Z/IP Gateway Virtual Machine (using steps in Set Up Z/IP Gateway Ubuntu 16.04 LTS Virtual Machine)
$ sudo apt-get install python-wxgtk3.0
Run gui.py
$ cd pyzip
$ python2 gui.py
但是还是不能够在PC上打开pyzip
操作:
Installing on Windows
Get and install python 2.7 : http://python.org/download/ http://python.org/ftp/python/2.7.3/python-2.7.3.amd64.msi
For wxPython: http://wxpython.org/download.php#stable
Note
Remember to choose a version of wxPython which matches your python version.
Download DTLS with openssl for Windows. Choose one of these:
Dtls-0.1.0.sdist_with_openssl.win32.zip (32-bit python installed, recommended) OR
Dtls-0.1.0.sdist_with_openssl.win-amd64.zip (64-bit python installed)
Once downloaded, unpack the zip file to a temporary folder.
Open a command prompt in the temporary folder
Set path to include location where Python is installed.
Assuming Python is installed in C:\Python27, run the following command:
set PATH=%PATH%;C:\Python27
Run this command inside the command prompt to install DTLS
python setup.py install
Download the Pyzip sources from the Z-Wave technical support website.
Uncompress the Pyzip sources
Change directory to where Pyzip sources are uncompressed
set PYTHONPATH to include current folder so pyzip sources can be located.
set PYTHONPATH=.
run gui.py as follows
python pyzip/gui.py
结果:
C:\pyzip>python pyzip/gui.py
Traceback (most recent call last):
File "pyzip/gui.py", line 11, in <module>
from FirmwareUpdateFrame import FirmwareUpdateFrame
File "C:\pyzip\pyzip\FirmwareUpdateFrame.py", line 17, in <module>
from wx._core import EVT_BUTTON
ImportError: cannot import name EVT_BUTTON
解决:
注释了FirmwareUpdateFrame.py的17行
#from wx._core import EVT_BUTTON
注释了gui.py的19行
#from wx._misc import ToolTip
结果:虽然还有有报错,但是总算能够打开pyzip_ver1_16的PC版
安装后,在linux上必须要再安装zipgateway-2.61.0-Linux-i386.deb,才能够打开control