python 3.6 module 'cmath' is not found
up vote
0
down vote
favorite
I have just installed Ubuntu 18.04 LTS. After running a python script, I'm receiving this error:
ModuleNotFoundError: No module named 'cmath'
I know that cmath should be already installed. I have found this question Python 3.7 cmath module import error but it's related to python 3.7 . Does it also affects python 3.6? Do you have any ideas how to fix it? Thank you!
Python version is 3.6.5
python python-3.x ubuntu-18.04
add a comment |
up vote
0
down vote
favorite
I have just installed Ubuntu 18.04 LTS. After running a python script, I'm receiving this error:
ModuleNotFoundError: No module named 'cmath'
I know that cmath should be already installed. I have found this question Python 3.7 cmath module import error but it's related to python 3.7 . Does it also affects python 3.6? Do you have any ideas how to fix it? Thank you!
Python version is 3.6.5
python python-3.x ubuntu-18.04
cmath
is a built-in and should import correctly with a standard CPython install. How did you install python 3.6?
– Matt Messersmith
Nov 9 at 16:37
It has been already installed with Ubuntu.
– Vladyslav Moisieienkov
Nov 9 at 16:39
Oh. Have you tried reinstalling it? You can either do that usingapt-get
, or alternatively just use Anaconda. I'd highly recommend Anaconda, it has a lot of nice additionally features that are nice if you're going to be doing a lot of Python development.
– Matt Messersmith
Nov 9 at 16:41
I have fixed it. I have just reinstalled Python to version 3.6.6 and everything works. Thanks for helping.
– Vladyslav Moisieienkov
Nov 10 at 9:43
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have just installed Ubuntu 18.04 LTS. After running a python script, I'm receiving this error:
ModuleNotFoundError: No module named 'cmath'
I know that cmath should be already installed. I have found this question Python 3.7 cmath module import error but it's related to python 3.7 . Does it also affects python 3.6? Do you have any ideas how to fix it? Thank you!
Python version is 3.6.5
python python-3.x ubuntu-18.04
I have just installed Ubuntu 18.04 LTS. After running a python script, I'm receiving this error:
ModuleNotFoundError: No module named 'cmath'
I know that cmath should be already installed. I have found this question Python 3.7 cmath module import error but it's related to python 3.7 . Does it also affects python 3.6? Do you have any ideas how to fix it? Thank you!
Python version is 3.6.5
python python-3.x ubuntu-18.04
python python-3.x ubuntu-18.04
edited Nov 9 at 16:33
Madhur Bhaiya
16.4k52136
16.4k52136
asked Nov 9 at 16:30
Vladyslav Moisieienkov
331210
331210
cmath
is a built-in and should import correctly with a standard CPython install. How did you install python 3.6?
– Matt Messersmith
Nov 9 at 16:37
It has been already installed with Ubuntu.
– Vladyslav Moisieienkov
Nov 9 at 16:39
Oh. Have you tried reinstalling it? You can either do that usingapt-get
, or alternatively just use Anaconda. I'd highly recommend Anaconda, it has a lot of nice additionally features that are nice if you're going to be doing a lot of Python development.
– Matt Messersmith
Nov 9 at 16:41
I have fixed it. I have just reinstalled Python to version 3.6.6 and everything works. Thanks for helping.
– Vladyslav Moisieienkov
Nov 10 at 9:43
add a comment |
cmath
is a built-in and should import correctly with a standard CPython install. How did you install python 3.6?
– Matt Messersmith
Nov 9 at 16:37
It has been already installed with Ubuntu.
– Vladyslav Moisieienkov
Nov 9 at 16:39
Oh. Have you tried reinstalling it? You can either do that usingapt-get
, or alternatively just use Anaconda. I'd highly recommend Anaconda, it has a lot of nice additionally features that are nice if you're going to be doing a lot of Python development.
– Matt Messersmith
Nov 9 at 16:41
I have fixed it. I have just reinstalled Python to version 3.6.6 and everything works. Thanks for helping.
– Vladyslav Moisieienkov
Nov 10 at 9:43
cmath
is a built-in and should import correctly with a standard CPython install. How did you install python 3.6?– Matt Messersmith
Nov 9 at 16:37
cmath
is a built-in and should import correctly with a standard CPython install. How did you install python 3.6?– Matt Messersmith
Nov 9 at 16:37
It has been already installed with Ubuntu.
– Vladyslav Moisieienkov
Nov 9 at 16:39
It has been already installed with Ubuntu.
– Vladyslav Moisieienkov
Nov 9 at 16:39
Oh. Have you tried reinstalling it? You can either do that using
apt-get
, or alternatively just use Anaconda. I'd highly recommend Anaconda, it has a lot of nice additionally features that are nice if you're going to be doing a lot of Python development.– Matt Messersmith
Nov 9 at 16:41
Oh. Have you tried reinstalling it? You can either do that using
apt-get
, or alternatively just use Anaconda. I'd highly recommend Anaconda, it has a lot of nice additionally features that are nice if you're going to be doing a lot of Python development.– Matt Messersmith
Nov 9 at 16:41
I have fixed it. I have just reinstalled Python to version 3.6.6 and everything works. Thanks for helping.
– Vladyslav Moisieienkov
Nov 10 at 9:43
I have fixed it. I have just reinstalled Python to version 3.6.6 and everything works. Thanks for helping.
– Vladyslav Moisieienkov
Nov 10 at 9:43
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
I have just reinstalled Python version to 3.6.6 (using apt-get
) and everything is working fine.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
I have just reinstalled Python version to 3.6.6 (using apt-get
) and everything is working fine.
add a comment |
up vote
0
down vote
accepted
I have just reinstalled Python version to 3.6.6 (using apt-get
) and everything is working fine.
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
I have just reinstalled Python version to 3.6.6 (using apt-get
) and everything is working fine.
I have just reinstalled Python version to 3.6.6 (using apt-get
) and everything is working fine.
answered Nov 10 at 19:03
Vladyslav Moisieienkov
331210
331210
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53229683%2fpython-3-6-module-cmath-is-not-found%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
cmath
is a built-in and should import correctly with a standard CPython install. How did you install python 3.6?– Matt Messersmith
Nov 9 at 16:37
It has been already installed with Ubuntu.
– Vladyslav Moisieienkov
Nov 9 at 16:39
Oh. Have you tried reinstalling it? You can either do that using
apt-get
, or alternatively just use Anaconda. I'd highly recommend Anaconda, it has a lot of nice additionally features that are nice if you're going to be doing a lot of Python development.– Matt Messersmith
Nov 9 at 16:41
I have fixed it. I have just reinstalled Python to version 3.6.6 and everything works. Thanks for helping.
– Vladyslav Moisieienkov
Nov 10 at 9:43