Because the handle has been relatively defective, so intends to use a mobile phone to control the car, but the problem comes again, I will not Java, how to write the app?
After a search on the internet, I found Python can also write mobile app, simply high-end, but to install the Kivy framework. After a search on the internet, it was found that the information was two years old, but it does not prevent me from going into the pit now.
A lot of information is written directly from the official website and then run the bat file or something, but I go to the official website, only through the PIP install the latest version. and also support the python3.5 Ah!
Follow the official website operation, installed an afternoon, let me pretend what, I installed what, lack of Cython, I installed, lack of Visaul stidio, I installed, lack. NET I installed, finally still error, annoying!
Home try to use python2.7 installed a bit, a bit on it, really deceptive, said 3.5 can use, the results can only be installed 2.7, at home to try the mobile phone terminal program, you can run successfully.
To the company also used 2.7 installed a bit, the installation is successful, run the program, error DLL load failed .... Worry! Search on the Internet, or foreign friends use more, answer questions are also positive. To find a solution to the answer.
Trycopy glew32.dll
From "Share\glew\bin\glew32.dll" to "Lib\site-packages\kivy\graphics\
".
From the Python directory share\glew\bin\glew32.dll try to copy Glew32.dll to the Python directory lib\site-packages\kivy\graphics\
I copied a bit, really do not have this DLL, run again, success! And can be connected to my car, can control it!
The next problem is that my phone still can not run, there is an error, hint Systemerror,null result without error in Pyobject_call, I read the program, there is nothing too much stuff. But the test program can be run, slowly change it.
This article is from "Hyde honor" blog, please be sure to keep this source http://wa88569297.blog.51cto.com/10873505/1907144
Two days, install Kivy environment, python3.5 not, can only use python2.7