메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


ipython 실행후 import tensorflow as tf하고 엔터하면  
아래의 오류시 pip install pandas==0.22를 실행한다.

--------------------오류내용-------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-1-64156d691fe5> in <module>()
----> 1 import tensorflow as tf

/usr/anaconda3/lib/python3.6/site-packages/tensorflow/__init__.py in <module>()
     20
     21 # pylint: disable=g-bad-import-order
---> 22 from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
     23 from . import app
     24 from . import bitwise

/usr/anaconda3/lib/python3.6/site-packages/tensorflow/python/__init__.py in <module>()
     80 from tensorflow.python import data
     81 from tensorflow.python import keras
---> 82 from tensorflow.python.estimator import estimator_lib as estimator
     83 from tensorflow.python.feature_column import feature_column_lib as feature_column
     84 from tensorflow.python.layers import layers

/usr/anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/estimator_lib.py in <module>()
     39 from tensorflow.python.estimator.exporter import FinalExporter
     40 from tensorflow.python.estimator.exporter import LatestExporter
---> 41 from tensorflow.python.estimator.inputs import inputs
     42 from tensorflow.python.estimator.keras import model_to_estimator
     43 from tensorflow.python.estimator.model_fn import EstimatorSpec

/usr/anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/inputs/inputs.py in <module>()
     21 # pylint: disable=unused-import,line-too-long
     22 from tensorflow.python.estimator.inputs.numpy_io import numpy_input_fn
---> 23 from tensorflow.python.estimator.inputs.pandas_io import pandas_input_fn
     24
     25 # pylint: enable=unused-import,line-too-long

/usr/anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/inputs/pandas_io.py in <module>()
     27   # pylint: disable=g-import-not-at-top
     28   # pylint: disable=unused-import
---> 29   import pandas as pd
     30   HAS_PANDAS = True
     31 except IOError:

/usr/anaconda3/lib/python3.6/site-packages/pandas/__init__.py in <module>()
     40 import pandas.core.config_init
     41
---> 42 from pandas.core.api import *
     43 from pandas.core.sparse.api import *
     44 from pandas.tseries.api import *

/usr/anaconda3/lib/python3.6/site-packages/pandas/core/api.py in <module>()
      8 from pandas.core.dtypes.missing import isna, isnull, notna, notnull
      9 from pandas.core.arrays import Categorical
---> 10 from pandas.core.groupby.groupby import Grouper
     11 from pandas.io.formats.format import set_eng_float_format
     12 from pandas.core.index import (Index, CategoricalIndex, Int64Index,

/usr/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/__init__.py in <module>()
      1 # flake8: noqa
----> 2 from pandas.core.groupby.groupby import (
      3     Grouper, GroupBy, SeriesGroupBy, DataFrameGroupBy
      4 )

/usr/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py in <module>()
     47                                CategoricalIndex, _ensure_index)
     48 from pandas.core.arrays import ExtensionArray, Categorical
---> 49 from pandas.core.frame import DataFrame
     50 from pandas.core.generic import NDFrame, _shared_docs
     51 from pandas.core.internals import BlockManager, make_block

/usr/anaconda3/lib/python3.6/site-packages/pandas/core/frame.py in <module>()
     72                                    create_block_manager_from_arrays,
     73                                    create_block_manager_from_blocks)
---> 74 from pandas.core.series import Series
     75 from pandas.core.arrays import Categorical, ExtensionArray
     76 import pandas.core.algorithms as algorithms

/usr/anaconda3/lib/python3.6/site-packages/pandas/core/series.py in <module>()
     65 from pandas.compat.numpy import function as nv
     66
---> 67 import pandas.core.ops as ops
     68 import pandas.core.algorithms as algorithms
     69

AttributeError: module 'pandas' has no attribute 'core'
번호 제목 날짜 조회 수
59 Resource temporarily unavailable(자원이 일시적으로 사용 불가능함) 오류조치 2015.11.19 7706
58 Ubuntu 16.04LTS 설치후 초기에 주어야 하는 작업(php, apache, mariadb설치및 OS보안설정등) file 2017.05.23 5631
57 checking for termcap functions library... configure: error: No curses/termcap library found 2013.03.08 4187
56 원보드pc인 bananapi를 이용하여 hadoop 클러스터 구성하기(준비물) file 2014.05.29 3933
55 빅데이터 분석을 위한 샘플 빅데이터 파일 다운로드 사이트 2014.04.28 3332
54 의사분산모드에 hadoop설치및 ecosystem 환경 정리 2014.05.29 3217
53 ../depcomp: line 512 exec : g++ : not found 2013.03.08 2145
52 RHadoop을 통해서 웹사이트의 방문자수를 예측하는 방법 2014.09.26 2075
51 통계자료 구할수 있는 곳 2014.04.16 2011
50 ubuntu에 hadoop 2.0.5설치하기 2013.12.16 1972
49 MySQL 다운로드 및 리눅스에서 간단 컴파일 설치 2013.03.08 1950
48 centos 5.X에 hadoop 2.0.5 alpha 설치 2013.12.16 1674
47 우분투 16.04 LTS에 apache2와 tomcat7 연동하여 설치하기 2014.05.09 1600
46 apt-get install mysql-server수행시 "404 Not Found" 오류발생시 조치방법 2014.09.10 1507
45 crypto관련 기생충 박멸 스크립트 2018.05.11 1421
44 자주쓰는 유용한 프로그램 2018.03.16 1385
43 로그 파일에 대해 Elasticsearch 사용하기 2014.09.25 1279
42 호튼웍스 하둡을 검색엔진과 연동하는 방법과 아키텍쳐 2014.09.25 1193
41 Building a Cluster docs 2014.04.22 1129
40 [Magento]php7에 Composer를 이용하여 Magento 2.1.3 설치 file 2017.01.30 1097
위로