Installation - ModuleNotFoundError: No module named 'kivy.tools'

1,055 views
Skip to first unread message

Max Enrico

unread,
Mar 19, 2017, 10:05:42 AM3/19/17
to Kivy users support
Hi to all

I'm really new to kivi and I can't install it

I'm on windows 10 machine with python 3.6 portable (winpython)

Do all steps and at the 
"python -m pip install kivy"

I get this error message:


Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Enrico\AppData\Local\Temp\FreeCommanderPortableTemp\pip-build-ijoj1nuc\kivy\setup.py", line 322, in <module>
        from kivy.tools.packaging.factory import FactoryBuild
    ModuleNotFoundError: No module named 'kivy.tools'

I've updated all modules and tried some times the installation.

Every steps before this ends well.


p.s. install python isn't a solution obviously

Matthew Einhorn

unread,
Mar 20, 2017, 2:32:32 AM3/20/17
to kivy-...@googlegroups.com
For 3.5+ you need the nightly wheel. Pip version is too old.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Max Enrico

unread,
Mar 20, 2017, 2:23:42 PM3/20/17
to kivy-...@googlegroups.com
Hi

Thank @matham

It's really... for a while
^__^


I have to install ez_setup and then retry the weel installation whit this command line:

    WinPython-64bit-3.6.0.1Qt5\python-3.6.0.amd64>python -m pip install C:\...\py\kivy\Kivy-1.9.2.dev0-cp36-cp36m-win_amd64.whl






It seem to go but then stop with this message error:

     File "C:\WinPython-64bit-3.6.0.1Qt5\python-3.6.0.amd64\lib\site-packages\ez_setup.py", line 467, in _extractall
       
self.chown(tarinfo, dirpath)
   
TypeError: chown() missing 1 required positional argument: 'numeric_owner'


   
----------------------------------------
   
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Enrico\AppData\Local\Temp\pip-build-sm5cgo2f\Kivy-Garden\






Some more help?

Thanks





Matthew Einhorn

unread,
Mar 21, 2017, 8:35:28 AM3/21/17
to kivy-...@googlegroups.com
Try updating pip. Also try with wheel install rather than pip.

Reply all
Reply to author
Forward
0 new messages