qpython-android / qpython.org

QPython contributor & sugguestion & question homepage
http://qpython.org
58 stars 11 forks source link

missing module (kivy) #168

Closed oceanpix closed 7 years ago

oceanpix commented 7 years ago

Hi! I'm trying to import the jnius module, but although it appear to be installed from the library menu, it's not in the interpreter. Trying to install Kivy from PIP, fails because of an error when installing one of its dependencies: Cython

If I do run the command < help('modules') > to output all the installed modules, it appear that there's not trace of kivy/jnius installed. Here's the log for all the available modules:

/data/user/0/org.qpython.qpy/files/bin/qpython-android5-root.sh && exit python-android5-root.sh && exit < Python 2.7.2 (default, Nov 2 2015, 01:07:37) [GCC 4.9 20140827 (prerelease)] on linux4 Type "help", "copyright", "credits" or "license" for more information.

help('modules')

Please wait a moment while I gather a list of all available modules...

/data/user/0/org.qpython.qpy/files/lib/python27.zip/pkgutil.py:110: RuntimeWarning: import cdrom: No module named cdrom (ImportError: No module named cdrom) ArgImagePlugin builtin dom pwd BaseHTTPServer future dumbdbm py_compile Bastion _abcoll dummy_thread pyclbr BdfFontFile _ast dummy_threading pydoc BeautifulSoup _bisect email pydoc_data BmpImagePlugin _codecs encodings pyexpat BufrStubImagePlugin _codecs_cn errno pygame CGIHTTPServer _codecs_hk etree qpy ConfigParser _codecs_iso2022 exceptions qpythoninit ContainerIO _codecs_jp fcntl quopri Cookie _codecs_kr filecmp random CurImagePlugin _codecs_tw fileinput re DcxImagePlugin _collections fnmatch repr DocXMLRPCServer _csv formatter resource EpsImagePlugin _ctypes fpformat rexec ExifTags _ctypes_test fractions rfc822 FitsStubImagePlugin _elementtree ftplib rlcompleter FliImagePlugin _functools functools robotparser FontFile _hashlib future_builtins runpy FpxImagePlugin _heapq gc sax GbrImagePlugin _hotshot genericpath sched GdImageFile _imaging getopt select GifImagePlugin _imagingft getpass sets GimpGradientFile _imagingmath gettext setuptools GimpPaletteFile _io glob sgmllib GribStubImagePlugin _json grp sha HTMLParser _lsprof gzip shelve Hdf5StubImagePlugin _md5 hashlib shlex IcnsImagePlugin _multibytecodec heapq shutil IcoImagePlugin _pyio hmac signal ImImagePlugin _random hotshot site Image _sha htmlentitydefs six ImageChops _sha256 htmllib smtpd ImageCms _sha512 httplib smtplib ImageColor _socket ihooks sndhdr ImageDraw _sqlite3 imaplib socket ImageDraw2 _sre imghdr sqlite3 ImageEnhance _ssl imp sre ImageFile _strptime importlib sre_compile ImageFileIO _struct imputil sre_constants ImageFilter _symtable inspect sre_parse ImageFont _testcapi io ssl ImageGL _threading_local itertools stat ImageGrab _warnings json statvfs ImageMath _weakref keyword string ImageMode _weakrefset linecache stringold ImageOps abc locale stringprep ImagePalette aifc logging strop ImagePath android macholib struct ImageQt androidhelper macpath subprocess ImageSequence antigravity macurl2path sunau ImageShow anydbm mailbox sunaudio ImageStat argparse mailcap symbol ImageTk array markupbase symtable ImageTransform ast marshal sys ImageWin asynchat math sysconfig ImtImagePlugin asyncore md5 syslog IptcImagePlugin atexit mhlib tabnanny JpegImagePlugin audiodev mime tarfile McIdasImagePlugin audioop mimetools telnetlib MicImagePlugin audiostream mimetypes tempfile MimeWriter base64 mimify termios MpegImagePlugin bdb mmap test MspImagePlugin binascii modulefinder textwrap OleFileIO binhex multifile this PIL bisect mutex thread PSDraw bottle netrc threading PaletteFile bsddb new time PalmImagePlugin cPickle nntplib timeit PcdImagePlugin cProfile ntpath toaiff PcfFontFile cStringIO nturl2path token PcxImagePlugin calendar numbers tokenize PdfImagePlugin cgi numpy trace PixarImagePlugin cgitb opcode traceback PngImagePlugin chunk operator tty PpmImagePlugin cmath optparse types PsdImagePlugin cmd os unicodedata Queue code os2emxpath unittest SgiImagePlugin codecs parser urllib SimpleHTTPServer codeop parsers urllib2 SimpleXMLRPCServer collections pdb urlparse SocketServer colorsys pickle user SpiderImagePlugin commands pickletools uu StringIO compileall pip uuid SunImagePlugin compiler pipes warnings TarIO contextlib pkg_resources wave TgaImagePlugin cookielib pkgutil weakref TiffImagePlugin copy platform webbrowser TiffTags copy_reg plistlib whichdb UserDict csv plyer wsgiref UserList ctypes popen2 xdrlib UserString datetime poplib xml WalImageFile dbhash posix xmllib WmfImagePlugin decimal posixfile xmlrpclib XVThumbImagePlugin difflib posixpath xxsubtype XbmImagePlugin dircache pprint zipfile XpmImagePlugin dis profile zipimport _LWPCookieJar distutils pstats zlib _MozillaCookieJar doctest pty

Enter any module name to get more help. Or, type "modules spam" to search for modules whose descriptions contain the word "spam".

Thank you!

oceanpix commented 7 years ago

A phone reboot and a new freshly install of qPython solved the issue. Closing the thread, thank you! :+1: