我想使用以下pandas,但根本无法导入它.
但是我无法导入它:
import pandas as pd
Traceback (most recent call last):
File "", line 1, in
import pandas as pd
File "C:\Python27\lib\site-packages\pandas\__init__.py", line 45, in
from pandas.io.api import *
File "C:\Python27\lib\site-packages\pandas\io\api.py", line 15, in
from pandas.io.gbq import read_gbq
File "C:\Python27\lib\site-packages\pandas\io\gbq.py", line 39, in
if LooseVersion(_GOOGLE_API_CLIENT_VERSION >= '1.2.0'):
File "C:\Python27\lib\distutils\version.py", line 265, in __init__
self.parse(vstring)
File "C:\Python27\lib\distutils\version.py", line 274, in parse
self.component_re.split(vstring))
TypeError: expected string or buffer
怎么了?