The article directories
1 Error report 2 solution
1 error
Try using the Matplotlib package on Linux via Pycharm IDE. When I run this code:
from matplotlib import pyplot
Result error:
ImportError: No module named 'tkinter'
2 Solutions
Ubuntu’s system:
sudo apt-get install python3-tk
Or, if you are a centos server:
sudo yum install python36u-tkinter.x86_64
div>
Read More:
- Ubuntu Reportno moulde named tkinter
- Solving attributeerror: module ‘Matplotlib’ has no attribute ‘artist’
- Solving attributeerror: module ‘Matplotlib’ has no attribute ‘plot‘
- Error no module named ‘in newly installed Python_ sqlite3‘
- Unable to call numpy in pychar, module notfounderror: no module named ‘numpy’
- ModuleNotFoundError: No module named ‘tensorflow_core.estimator‘
- How to Fix gdb error: Failed to import the site module,No module named ‘_sysconfigdata_m’
- No module named numpy error in Python code
- Importerror: the perfect solution of no module named CV2!!! (not too good)
- ImportError: No module named indexes.base
- ModuleNotFoundError: No module named xxx
- Create a new project in pycharm: modulenotfounde rror:No module named ‘distutils.util‘
- Modulenotfounderror: no module named ‘CV2’ – (version problem)
- Python:ImportError: No module named indexes.base
- ModuleNotFoundError: No module named ‘apt_pkg‘
- Module not found error: the solution to the problem of no module named ‘MySQL’
- ModuleNotFoundError: No module named ‘notebook‘
- [Solved] ModuleNotFoundError: No module named ‘win32api’
- Module not founderror: no module named ‘nets.ssd‘
- ModuleNotFoundError: No module named ‘numpy.testing.nosetester‘