简体   繁体   中英

Upgrading version of colorama for buildozer

I have a big problem. I am trying to use buildozer to package my application for android that I have written using kivy in Python 2. I have installed all dependencies, and I fell upon an error, stating:

ERROR: colorama version is 0.3.2, but python-for-android needs at least 0.3.3.

So I ran:

 pip install colorama --upgrade to upgrade it. 

It finishes, but it also states that

Not uninstalling colorama at /usr/lib/python2.7/dist-packages, owned by OS

I thought it worked, but it turns out that the colorama at /usr/lib/python2.7/dist-packages is the one python sees first, and buildozer still doesn't work.

The problem is, for some reason, colorama seems to be at it's latest version when I type aptitude upgrade colorama , and pip needs colorama, so if I uninstall colorama, aptitude tells me I have to uninstall pip. pip just happens to be a dependancy of buildozer as well.

Update: I ran this all as root, previously stating su, exept for the buildozer commands.

It's a permission error. Try running

sudo pip install colorama --upgrade

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