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版本重新安装到3.6.6(使用apt-get
),一切正常。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.