Two days, install Kivy environment, python3.5 not, can only use python2.7

Source: Internet
Author: User

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.dllFrom "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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.