메뉴 건너뛰기

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'
번호 제목 날짜 조회 수
» anaconda3(v5.4)를 이용하여 tensorflow설치후 ipython프로그램을 실행하여 import할때 오류발생시 조치 2018.07.27 1315
549 HiveServer2인증을 PAM을 이용하도록 설정하는 방법 2018.07.21 3340
548 [postgresql 9.x] PostgreSQL Replication 구축하기 2018.07.17 1723
547 spark 2.3.0을 설치하가 위해서 parcel에 다음 url을 입력한다. 2018.07.15 2101
546 sentry설정후 beeline으로 hive2server에 접속하여 admin계정에 admin권한 부여하기 2018.07.03 1974
545 upsert구현방법(년-월-일 파티션을 기준으로) 및 테스트 script file 2018.07.03 3111
544 resouce manager에 dr.who가 아닌 다른 사용자로 로그인 하기 2018.06.28 2828
543 하둡기반 데이타 모델링(6편) 2018.06.27 1089
542 CDH에서 Sentry 개념및 설정 file 2018.06.21 1815
541 cloudera에서 spark-shell를 실행했을때 default master는 spark.master=yarn-client임 2018.06.20 2533
540 dr.who로 공격들어오는 경우 조치방법 file 2018.06.09 6506
539 spark-shell을 실행하면 "Attempted to request executors before the AM has registered!"라는 오류가 발생하면 2018.06.08 1502
538 SCM서비스를 추가하는 동안 Unexpected error. Unable to verify database connection. 오류발생시 확인 사항 2018.06.08 2274
537 Cloudera Manager에서 "Mismatched CDH versions: host has NONE but role expects 5 Suppress..."와 같이 오류 발생시 확인사항 2018.06.06 2266
536 JAVA_HOME을 명시적으로 지정하는 방법 2018.06.04 1623
535 spark 시동중 applicationHistory 로그 디렉토리가 없다고 하면서 기동되지 않는 경우 2018.06.01 2235
534 impala2를 Cloudera Manager가 아닌 수동으로 설치하는 방법 2018.05.30 2578
533 MapReduce2.0(YARN)기반의 CDH5 설치시 생성되는 사용자및 권한 부여 2018.05.30 2140
532 HUE를 사용할 사용자를 추가 하는 절차 2018.05.29 2223
531 JobHistory 서버 기동시 HDFS상에 특정 폴더를 생성할 수 없어서 기동하지 못하는 경우 조치 2018.05.29 4008
위로