简体   繁体   中英

Change default Python interpreter for Kivy from 2.7 to 3.3

I read that since Kivy 1.8 I can you Python 3.3 instead of 2.7 but although I have Python 3.3 installed the kivy command still uses 2.7 .

Can I manually modify kivy bash script and change the last line exec $(python -c "import os, sys; ... to point to my Python 3.3 installation? There's a similar question about Python 3.4 but this should not be supported right now.

So, what's the recommended way?

The kivy packages for OSX use the default system Python: 2.7. All the dependencies we've compiled are based on the ABI of system Python 2.7.

Using another Python, or 3.3, will just not work. Python is great when you stay in pure python, but we are using lot of underlaying libraries, which requires compilation too. We'll try to release a 3.4 version somehow.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM