Python Forum
Unsolved import App .Unable to import Kivy
Thread Rating:
  • 3 Vote(s) - 3.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unsolved import App .Unable to import Kivy
#1
How do i use the module which is installed using Pip. I am not able to add as egg whereas there is no option to add an wheel. I have installed kivi using pip but. i am not able to use it like a module installed in eclipse using egg. How do I proceed further

Kivy-1.9.1.dev -cp27-none-win_amd64.whl is not a supported wheel on this platform. error in eclipse


C:\Program Files\Python36\Scripts>python -m pip install C:\Kivy-1.10.1.dev0-cp36-cp36m-win_amd64.whl
Processing c:\kivy-1.10.1.dev0-cp36-cp36m-win_amd64.whl
Requirement already satisfied: Kivy-Garden>=0.1.4 in c:\program files\anaconda3\lib\site-packages (from Kivy==1.10.1.dev0)
Requirement already satisfied: pygments in c:\program files\anaconda3\lib\site-packages (from Kivy==1.10.1.dev0)
Requirement already satisfied: docutils in c:\program files\anaconda3\lib\site-packages (from Kivy==1.10.1.dev0)
Requirement already satisfied: requests in c:\program files\anaconda3\lib\site-packages (from Kivy-Garden>=0.1.4->Kivy==1.10.1.dev0)
Installing collected packages: Kivy
Found existing installation: Kivy 1.10.0
Uninstalling Kivy-1.10.0:
Successfully uninstalled Kivy-1.10.0
Successfully installed Kivy-1.10.1.dev0
Reply
#2
Quote:Kivy-1.9.1.dev -cp27-none-win_amd64.whl is not a supported wheel on this platform. error in eclipse
This is for python2.7 indicated in the package name cp27

Quote:Requirement already satisfied: Kivy-Garden>=0.1.4 in c:\program files\anaconda3\lib\site-packages (from Kivy==1.10.1.dev0)
It looks like you have anaconda installed which has kivy in it....so if your eclipse IDE is directed to use a different python then its not going to be able to use kivy if that python version doesnt have kivy installed to it. I dont use elcipse, so i dont know how exactly to tell you to switch or ensure it is using that python. But all IDE's have a method in which allows you to change the python interpreter it using.
Recommended Tutorials:
Reply
#3
Hi,

I have added the anaconda interpreter in eclipse hence I was able to use it.
Thanks does it mean that packages installed in python interpreter cannot be used and the preferences has to be change??

Regards,
Bharath
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] [Solved] Help with an DLL import error Extra 4 9,817 Mar-13-2023, 02:51 AM
Last Post: victorable
Lightbulb [Tkinter] Tkinter Class Import Module Issue AaronCatolico1 6 2,972 Sep-06-2022, 03:37 PM
Last Post: AaronCatolico1
  confusion using the import statement barryjo 4 1,515 Jan-26-2022, 07:10 PM
Last Post: barryjo
  Stop import from executing function, but allow the function to execute from tk btn. MrBitPythoner 4 2,624 Dec-08-2020, 10:00 PM
Last Post: MrBitPythoner
  How to import entire module ? tonycstech 5 3,254 Oct-21-2020, 06:16 AM
Last Post: tonycstech
  how do i compile from pyjet import without a compile error? space_cat 0 1,271 Sep-22-2020, 01:57 PM
Last Post: space_cat
  Import a file and show file name on qcombobox GMCobraz 1 1,925 Jul-02-2020, 01:38 PM
Last Post: GMCobraz
  How can import variable beteen classes in same module johnjh 1 1,910 Apr-19-2020, 09:41 PM
Last Post: deanhystad
  [Tkinter] Tkinter - I have problem after import varaible or function from aGUI to script johnjh 2 2,522 Apr-17-2020, 08:12 PM
Last Post: johnjh
  [PyQt] Cannot get PyQt5 to import DoDods 2 1,980 Apr-03-2020, 08:57 AM
Last Post: DoDods

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020