Under the mac-osx10.11 version, installing the ride premise requires the wxpython2.8-osx-unicode-2.8.12.1 library, but during the installation Wxpython the installation fails and the following provides a solution
Here I have shared these two files, please download them on your Mac:
Https://yunpan.cn/cqawqz2hb3QtH Access Password d652
First talk about the idea of the solution, I first in 10.10 to find Wxpython installation directory, in Windows in fact it is in the Python site-packages directory, not in the Mac, Mac Site-packages directory is library/ python/2.7/site-packages/, here I only found wxredirect.pth this file, according to the contents of this file, found the Wxpython directory in
/usr/local/lib/wxpython-unicode-2.8.12.1/
So I copied the pth file and the Wxpython directory to 10.11, and then the same configuration, I completed the installation of Wxpython.
In the download directory, double-click the Wxpython-2.8.12.1.zip file, wait for it to extract the completion, the extracted directory is wxpython-unicode-2.8.12.1.
The following steps are followed:
A. Copy the pth file to the specified directory
sudo CP ~/downloads/wxredirect.pth/library/python/2.7/site-packages/
B. Copy the Wxpython directory to the specified directory
Before executing the command, make sure that your/usr/local/lib directory is present, if the Lib directory does not create one yourself:
sudo mkdir /usr/local/lib
If you already have a Lib directory, you do not have to create a directory, directly execute the following statement
sudo CP -R ~/downloads/wxpython-unicode-2.8. 12.1//usr/local/lib/wxpython-unicode-2.8. 12.1/
After the copy is complete, make sure that the/USR/LOCAL/LIB/WXPYTHON-UNICODE-2.8.12.1/directory is the bin, include, LIB, share four directories.
This completes the installation of the Wxpython, and then please complete the installation of the ride yourself.
Since wxPython2.9 and 3.0 are both default 64-bit, 32-bit python will not be prompted when running ride.py (2.9 I am not sure), and the version of 2.8.12.1 we have copied is 32-bit, so after the Wxpython installation is complete, running ride.py will prompt this:
Python should is executed in 32-bit mode with WxPython on OSX.
Here we simply use a command to process, run the command at the terminal:
Write com.apple.versioner.python prefer--bit-bool Yes
After the above execution is complete, if the Robotframework required library is installed, enter ride.py at the command prompt to start the success.
Solve the problem of unable to install wxpython2.8-osx-unicode-2.8.12.1 under mac-osx10.11