mac 上python编译报错No module named MySQLdb You installed python You did brew install mysql You did export PATH=$PATH:/usr/local/mysql/bin And finally, you did pip install MySQL-Python 出现 Collecting mysql-python Downloading MySQL-python-1.2.5.zip (108kB)…
安装hue时,make apps 编译报错 :"Error: must have python development packages for 2.6 or 2.7. Could not find Python.h. Please install python2.6-devel or python2.7-devel". Stop. 原因:排查最终原因是,python等某些依赖未安装/未安装好. 依赖未安装的原因,是配置了本地yum源. 解决方法: 可能是本地yum源配置的原因,…
添加OutLook API using OutLook = Microsoft.Office.Interop.Outlook; 发送邮件方法 public void SendEmail() { OutLook.Application app = new OutLook.Application(); OutLook.NameSpace ns = app.GetNamespace("mapi"); ns.Logon("ServerName\\UserName", &qu…