0

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

Madhur Bhaiya
  • 28,155
  • 10
  • 49
  • 57
Vladyslav Moisieienkov
  • 4,118
  • 4
  • 25
  • 32

1 Answers1

0

I have just reinstalled Python version to 3.6.6 (using apt-get) and everything is working fine.

Vladyslav Moisieienkov
  • 4,118
  • 4
  • 25
  • 32