Install wxPython 2.8 (For Ride) on OSX “El Capitan”

后端 未结 2 803
栀梦
栀梦 2021-01-31 23:55

I\'m trying to install wxPython 2.8 unicode version, to be able to use robotframework-ride.

So far the installer downloaded from the site failed with an error saying \"T

2条回答
  •  被撕碎了的回忆
    2021-02-01 00:25

    Actually wxPython 3.0 can work with RIDE. here are my pip list:

    decorator (4.0.6)
    docutils (0.12)
    ecdsa (0.13)
    Flask (0.10.1)
    gunicorn (19.0.0)
    itsdangerous (0.24)
    Jinja2 (2.7.3)
    MarkupSafe (0.23)
    paramiko (1.16.0)
    pip (7.1.2)
    pycrypto (2.6.1)
    robotframework (3.0)
    robotframework-databaselibrary (0.6)
    robotframework-rammbock (0.4.0.1)
    robotframework-requests (0.4.0)
    robotframework-ride (1.5.1)
    robotframework-selenium2library (1.7.4)
    robotframework-sshlibrary (2.1.2)
    selenium (2.48.0)
    setuptools (18.7.1)
    vboxapi (1.0)
    Werkzeug (0.9.6)
    wheel (0.26.0)
    wxPython (3.0.2.0)
    wxPython-common (3.0.2.0)
    

    Pip cannot find wxPython to install. use homebrew instead:

    $homebrew install wxPython (will install 3.0.2.0)
    $pip install robotframework (will install 3.0)
    $pip install robotframework-ride (will install 1.5.1)
    

    Allow 3.0 check to '~/homebrew/lib/python2.7/site-packages/robotide/__init__.py':

    if sys.platform == 'darwin':
        supported_versions.append("2.9")
        supported_versions.append("3.0")
    

    Remove ~/.robotframework before start ride.py to void RIDE crashing when loading last-opened folder. Make a short shell script ~/homebrew/bin/ride:

    #!/bin/sh
    rm -rf ~/.robotframework
    ~/homebrew/bin/ride.py
    

    and chmod +x ~/homebrew/bin/ride. From shell enter 'ride', all should work well -- just reopen your test suite each time.

提交回复
热议问题