ModuleNotFoundError: No module named 'kivy' . How do I fix this error?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I have Ubuntu 16.04.4. I installed Kivy from Kivy Official Site.
I followed all the steps correctly. In spite of doing all this, when I try to import kivy in python, it is giving this error: ModuleNotFoundError: No module named 'kivy'
I'm getting this error in both the terminal and Anaconda. How can I fix this?
which python
/home/username/anaconda3/bin/pythonecho $PYTHONPATH
This gave no output.dpkg -L python-kivy | grep kivy/__init__
/usr/lib/python2.7/dist-packages/kivy/init.py
16.04 python anaconda kivy
add a comment |Â
up vote
0
down vote
favorite
I have Ubuntu 16.04.4. I installed Kivy from Kivy Official Site.
I followed all the steps correctly. In spite of doing all this, when I try to import kivy in python, it is giving this error: ModuleNotFoundError: No module named 'kivy'
I'm getting this error in both the terminal and Anaconda. How can I fix this?
which python
/home/username/anaconda3/bin/pythonecho $PYTHONPATH
This gave no output.dpkg -L python-kivy | grep kivy/__init__
/usr/lib/python2.7/dist-packages/kivy/init.py
16.04 python anaconda kivy
Did,you ask on the kivy mailing list / forums as this is outside the Ubuntu repositories?
â Panther
May 26 at 19:16
@SebastianStark Check it out. I have edited the question.
â Arvind Ramadurai
May 27 at 5:48
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have Ubuntu 16.04.4. I installed Kivy from Kivy Official Site.
I followed all the steps correctly. In spite of doing all this, when I try to import kivy in python, it is giving this error: ModuleNotFoundError: No module named 'kivy'
I'm getting this error in both the terminal and Anaconda. How can I fix this?
which python
/home/username/anaconda3/bin/pythonecho $PYTHONPATH
This gave no output.dpkg -L python-kivy | grep kivy/__init__
/usr/lib/python2.7/dist-packages/kivy/init.py
16.04 python anaconda kivy
I have Ubuntu 16.04.4. I installed Kivy from Kivy Official Site.
I followed all the steps correctly. In spite of doing all this, when I try to import kivy in python, it is giving this error: ModuleNotFoundError: No module named 'kivy'
I'm getting this error in both the terminal and Anaconda. How can I fix this?
which python
/home/username/anaconda3/bin/pythonecho $PYTHONPATH
This gave no output.dpkg -L python-kivy | grep kivy/__init__
/usr/lib/python2.7/dist-packages/kivy/init.py
16.04 python anaconda kivy
edited May 27 at 5:58
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
karel
49.6k11105126
49.6k11105126
asked May 26 at 19:12
Arvind Ramadurai
11
11
Did,you ask on the kivy mailing list / forums as this is outside the Ubuntu repositories?
â Panther
May 26 at 19:16
@SebastianStark Check it out. I have edited the question.
â Arvind Ramadurai
May 27 at 5:48
add a comment |Â
Did,you ask on the kivy mailing list / forums as this is outside the Ubuntu repositories?
â Panther
May 26 at 19:16
@SebastianStark Check it out. I have edited the question.
â Arvind Ramadurai
May 27 at 5:48
Did,you ask on the kivy mailing list / forums as this is outside the Ubuntu repositories?
â Panther
May 26 at 19:16
Did,you ask on the kivy mailing list / forums as this is outside the Ubuntu repositories?
â Panther
May 26 at 19:16
@SebastianStark Check it out. I have edited the question.
â Arvind Ramadurai
May 27 at 5:48
@SebastianStark Check it out. I have edited the question.
â Arvind Ramadurai
May 27 at 5:48
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
Short answer: Don't use anaconda if you don't know what you're doing.
Long answer: you are using a python installation (anaconda) which exists alongside the system python installation. If you install a system python package, or, in the case of kivy, a package that is made for the system python, it is probably not seen by anaconda.
In order to use it you have to either install the package the way anaconda wants it (beyond the scope of this site), or you have to start the system python interpreter, which is /usr/bin/python
.
On the Kivy homepage you find instructions on how to install using virtual environments (https://kivy.org/docs/installation/installation-linux.html#installation-in-a-virtual-environment), I recommend this method if you are not using the standard system python installation.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
Short answer: Don't use anaconda if you don't know what you're doing.
Long answer: you are using a python installation (anaconda) which exists alongside the system python installation. If you install a system python package, or, in the case of kivy, a package that is made for the system python, it is probably not seen by anaconda.
In order to use it you have to either install the package the way anaconda wants it (beyond the scope of this site), or you have to start the system python interpreter, which is /usr/bin/python
.
On the Kivy homepage you find instructions on how to install using virtual environments (https://kivy.org/docs/installation/installation-linux.html#installation-in-a-virtual-environment), I recommend this method if you are not using the standard system python installation.
add a comment |Â
up vote
2
down vote
Short answer: Don't use anaconda if you don't know what you're doing.
Long answer: you are using a python installation (anaconda) which exists alongside the system python installation. If you install a system python package, or, in the case of kivy, a package that is made for the system python, it is probably not seen by anaconda.
In order to use it you have to either install the package the way anaconda wants it (beyond the scope of this site), or you have to start the system python interpreter, which is /usr/bin/python
.
On the Kivy homepage you find instructions on how to install using virtual environments (https://kivy.org/docs/installation/installation-linux.html#installation-in-a-virtual-environment), I recommend this method if you are not using the standard system python installation.
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Short answer: Don't use anaconda if you don't know what you're doing.
Long answer: you are using a python installation (anaconda) which exists alongside the system python installation. If you install a system python package, or, in the case of kivy, a package that is made for the system python, it is probably not seen by anaconda.
In order to use it you have to either install the package the way anaconda wants it (beyond the scope of this site), or you have to start the system python interpreter, which is /usr/bin/python
.
On the Kivy homepage you find instructions on how to install using virtual environments (https://kivy.org/docs/installation/installation-linux.html#installation-in-a-virtual-environment), I recommend this method if you are not using the standard system python installation.
Short answer: Don't use anaconda if you don't know what you're doing.
Long answer: you are using a python installation (anaconda) which exists alongside the system python installation. If you install a system python package, or, in the case of kivy, a package that is made for the system python, it is probably not seen by anaconda.
In order to use it you have to either install the package the way anaconda wants it (beyond the scope of this site), or you have to start the system python interpreter, which is /usr/bin/python
.
On the Kivy homepage you find instructions on how to install using virtual environments (https://kivy.org/docs/installation/installation-linux.html#installation-in-a-virtual-environment), I recommend this method if you are not using the standard system python installation.
answered May 27 at 6:41
![](https://i.stack.imgur.com/33gTl.jpg?s=32&g=1)
![](https://i.stack.imgur.com/33gTl.jpg?s=32&g=1)
Sebastian Stark
4,603838
4,603838
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040673%2fmodulenotfounderror-no-module-named-kivy-how-do-i-fix-this-error%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Did,you ask on the kivy mailing list / forums as this is outside the Ubuntu repositories?
â Panther
May 26 at 19:16
@SebastianStark Check it out. I have edited the question.
â Arvind Ramadurai
May 27 at 5:48