python twitter module does not see _file_cache load during __init__ when using IPython
python twitter module does not see _file_cache load during __init__ when using IPython
While trying to 'import twitter' when using PyCharm or IPython with the Anaconda3 code set (after twitter installed using pip), the twitter module does not 'see' the _file_cache module and generates an error during __init__.
The _file_cache module is in fact present (and was reloaded to confirm it was not corrupt). A similar import of twitter using IDLE on a standard Py34 load works fine.
Any idea why the problem with Anaconda3/PyCharm/IPython?
ImportError ---> 31 from _file_cache import _FileCache ImportError: No module named '_file_cache' Answer by Kevin M Granger for python twitter module does not see _file_cache load during __init__ when using IPython
This is likely because python-twitter does not support python 3 yet, and thus is not explicit about relative imports (which python 3 requires).
Fatal error: Call to a member function getElementsByTagName() on a non-object in D:\XAMPP INSTALLASTION\xampp\htdocs\endunpratama9i\www-stackoverflow-info-proses.php on line 71

0 comments:
Post a Comment