• 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:pyzippyzipFirmwareUpdateFrame.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

  • 相关阅读:
    13之容器资源需求、资源限制及Metricserver(Heapster)
    04K8S之pod控制器
    08K8S之k8s认证和serviceaccount
    07K8S之Statefulset控制器
    [Database] Mongodb 分片集群
    IIS 配置.svc的MIME映射
    当前标识(IIS APPPOOL\ASP.NET v4.0)没有对“C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files”的写访问权限 解决方案
    Kubernetes Dashboard 安装
    存储服务 使用S3存储桶上传文件以及使用CLI来访问S3服务
    Django使用pdfkit生成PDF文件提供下载
  • 原文地址:https://www.cnblogs.com/orangezs/p/8328445.html
Copyright © 2020-2023  润新知