Liam O'Toole
Liam O'Toole

Reputation: 177

Cannot Import kivy on Spyder

The executed code.

Lower right is the error code recieved.

If I am leaving out anything important please let me know. I assume I am just rusty and don't know how to import modules correctly and its likely an issue with where kivy is saved in my computer compared to where the Python script is.

Separate question and possible hint, I only have Python37 installed but the IDE says, in the top left corner, that it is Python 3.6. Could this cause an issue with this or anything else?

Thank you.

Upvotes: 0

Views: 1794

Answers (1)

Liam O'Toole
Liam O'Toole

Reputation: 177

The answer was there was an issue with my Anaconda files, i uninstalled and re-downloaded Anaconda and then use the anaconda prompt to download kivy and that fixed my problems.

EDIT: there was issues with my anaconda files, however if one were to need to install Kivy on their device and also use Spyder on Anaconda as their IDE, all one needs to do is locate their Anaconda Prompt, found somewhere like C:\Program Files\Anaconda\bin\Anaconda.exe, I do not have Anaconda installed and am not certain of that path.

Once in the anaconda prompt run:

conda install kivy=x.x.x

Upvotes: 1

Related Questions