Note that there are some explanatory texts on larger screens.

plurals
  1. POAfter installing PyXML on Ubuntu 13.1 I can't import AdWordsClient
    primarykey
    data
    text
    <p>So I initially was having issues adding PyXML to Ubuntu 13.1. It turned out I needed to make a change to my PyConfig.h file, which was a pain.</p> <p>Eventually the system was able to successfully build PyXML but now, when I try to import AdWordsClient from adspygoogle (which was working fine before), I get this error:</p> <pre><code> Warning (from warnings module): File "/usr/local/lib/python2.7/dist-packages/adspygoogle/__init__.py", line 26 warnings.warn('Can\'t import AdWordsClient: %s' % e) UserWarning: Can't import AdWordsClient: /usr/local/lib/python2.7/dist-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8 Warning (from warnings module): File "/usr/local/lib/python2.7/dist-packages/adspygoogle/__init__.py", line 31 warnings.warn('Can\'t import DfaClient: %s' % e) UserWarning: Can't import DfaClient: /usr/local/lib/python2.7/dist-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8 Warning (from warnings module): File "/usr/local/lib/python2.7/dist-packages/adspygoogle/__init__.py", line 36 warnings.warn('Can\'t import DfpClient: %s' % e) UserWarning: Can't import DfpClient: /usr/local/lib/python2.7/dist-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8 Traceback (most recent call last): File "&lt;pyshell#0&gt;", line 1, in &lt;module&gt; from adspygoogle import AdWordsClient ImportError: cannot import name AdWordsClient </code></pre> <p>Now, when I uninstall PyXML and reboot idle, the import works just fine, thank you very much.</p> <p>So confused!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload