一、背景
PyCharm执行Python时,找不到自己安装的package,例如pandas、numpy、scipy、scikit等,在执行时报如下错误ImportError: No module named pandas:
Traceback (most recent call last):
File "", line 1, in
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_im
python安装完毕后,提示找不到ssl模块:
[wwwpythontab.com ~]$ python
Python 2.7.15 (default, Oct 23 2018, 18:08:43)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2
Type help, copyright, credits or license for more information.
>>> import ssl
Traceback (m
一、安装tkinter
在Linux中python默认是不安装Tkinter模块,
复制代码 代码如下:
[rootli250-193 ~]# python
Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
&