How do I fix this? I want to use the Panda module, do I need to rename certain files?
When trying to import pandas, I get these errors:
Traceback (most recent call last):
File "C:\Users\Mathias\Documents\Cognitive Science\Cognition and Communication\Exam project\Embodiment_Exp.py", line 11, in <module>
import pandas as pd
File "C:\Python27\lib\site-packages\pandas\__init__.py", line 44, in <module>
from pandas.io.api import *
File "C:\Python27\lib\site-packages\pandas\io\api.py", line 15, in <module>
from pandas.io.gbq import read_gbq
File "C:\Python27\lib\site-packages\pandas\io\gbq.py", line 37, in <module>
AttributeError: 'module' object has no attribute 'getLogger'
This is to do with a filename clash, see https://github.com/pandas-dev/pandas/issues/10167
If you have a file named logging.py this needs to be renamed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With