메뉴 건너뛰기

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 How to Install Magento 2.4.7 on Ubuntu 24.04 2024.09.04 169
58 [개발] 온라인 IDE - 개발 환경 구축 없어 어디서나 웹브라우저로 개발하기 2022.05.02 494
57 LAGOM 1.4 AND KUBERNETES ORCHESTRATION 2019.07.19 149
56 anaconda3 (v5.2) 설치및 머신러닝 관련 라이브러리 설치 절차 2018.07.27 672
» anaconda3(v5.4)를 이용하여 tensorflow설치후 ipython프로그램을 실행하여 import할때 오류발생시 조치 2018.07.27 286
54 crypto관련 기생충 박멸 스크립트 2018.05.11 1421
53 자주쓰는 유용한 프로그램 2018.03.16 1385
52 에러 추적(Error Tracking) 및 로그 취합(logging aggregation) 시스템인 Sentry 설치 2018.03.14 245
51 이미지 관리 오픈소스 목록 2018.03.11 374
50 https용 인증서 발급 명령문 예시및 오류 메세지 2018.01.24 233
49 여러 홈페이지를 운영하거나 혹은 서버에 가입한 사용자들에게 홈페이지 계정을 나누어 줄수 있도록 설정/계정 생성방법 2018.01.23 535
48 컴퓨터 무한 재부팅 원인및 조치방법 file 2017.12.05 231
47 windows 혹은 mac에서 docker설치하기 위한 파일 2017.10.13 142
46 [u-Auctions]목록이 1개만 나오는 문제 2017.05.29 137
45 Ubuntu 16.04LTS 설치후 초기에 주어야 하는 작업(php, apache, mariadb설치및 OS보안설정등) file 2017.05.23 5631
44 Ubuntu 16.04 LTS에서 사이트에 무료인증서를 이용하여 SSL적용 file 2017.05.23 456
43 webid에서 google처럼 검색할 수 있도록 하는 프로그램 2017.05.16 133
42 php auction 프로그램 2017.05.14 235
41 [PHP7.0]로그파일 위치 2017.05.07 242
40 magento2 2.1.3을 수동으로 설치하는 방법 2017.02.01 247
위로