0 votes

I can't install cherrypy on android

On Android I have installed QPython3, exactly version 3.2 is the one that works for me. I try to install cherrypy from the source and after installing the dependencies by hand, it turns out that from the python interpreter when importing cherrypy, it returns the following error ... Class PerpetualTimer (threading.Timer): TypeError: function () argument 1 must be code, not str.

Any clue where to pull?


nauj Points 1

This error was caused by trying to create a class from a function. Turns out threading.Timer was a function until version 3.2 and became a class afterwards. Then the error is solved by installing the first version of cherrypy that supported python 3.2.


HolaDevs is an online community of programmers and software lovers.
You can check other people responses or create a new question if you don't find a solution

Powered by: