Experimental Physics and
| |||||||||||||||
|
hi, Thanks for your reply! _mysql.so already included in the path I filled in the PYTHONPATH, but the problem still exists. Thank you all the same. 发件人: [email protected] <[email protected]> 代表 Matt Newville <[email protected]>
发送时间: 2016年9月18日 14:19:08 收件人: lzf neu 抄送: [email protected] 主题: Re: Question about "import MySQLdb" module problem in CSS python script Hi,
On Sun, Sep 18, 2016 at 7:56 AM, lzf neu
<[email protected]> wrote:
I have no experience with CSS, so this is a guess: I would suspect that there is a _mysql.so file in /usr/lib64/python2.7/site- If you had to explicitly set PYTHONPATH for the import of MySQLdb to work in CSS, you might need to include the directory that contains _mysql.so in PYTHONPATH too. Hope that helps,
--Matt Newville
| ||||||||||||||
ANJ, 19 Sep 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |