python3安装pandas出错

安装pandas出错:

 Running setup.py (path:/data/envs/py3/build/pandas/setup.py) egg_info for package pandas
    Traceback (most recent call last):
      File "", line 17, in 
      File "/data/envs/py3/build/pandas/setup.py", line 736, in 
        packages=find_packages(include=['pandas', 'pandas.*']),
    TypeError: find_packages() got an unexpected keyword argument 'include'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "", line 17, in 

  File "/data/envs/py3/build/pandas/setup.py", line 736, in 

    packages=find_packages(include=['pandas', 'pandas.*']),

TypeError: find_packages() got an unexpected keyword argument 'include'

解决办法:(原因是include 中的 find_packages()过于老旧)

pip install -U setuptools

然后就可以正常安装!!! 

你可能感兴趣的:(linux,python)