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'
댓글 0
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
610 | 부팅을 외장하드에서 하도록 변경하는 방법 | 2015.07.28 | 3453 |
609 | pom.xml에서 build.gradle로 변환 | 2015.09.14 | 3261 |
608 | mongodb 2.6.6 설치(64bit) | 2015.09.30 | 2633 |
607 | SQL문장과 Mongo에서 사용하는 명령어를 비교한 것입니다. | 2015.09.30 | 4148 |
606 | root계정으로 MariaDB설치후 mysql -u root -p로 db에 접근하여 바로 해줘야 하는일..(케릭터셑은 utf8) | 2015.10.02 | 3732 |
605 | DB별 JDBC 드라이버 | 2015.10.02 | 4177 |
604 | Mybatis foreach 문법정리(상황에 따른 사용법) | 2015.11.10 | 4906 |
603 | mybais #과 $의 차이점 | 2015.11.10 | 3671 |
602 | Resource temporarily unavailable(자원이 일시적으로 사용 불가능함) 오류조치 | 2015.11.19 | 11612 |
601 | Runtime.getRuntime().exec(cmd) sample 소스 | 2015.11.19 | 2649 |
600 | sparql에서 concat에제 | 2015.11.27 | 3029 |
599 | 마이바티스(MyBatis)쿼리로그 출력및 정렬하기 | 2015.12.01 | 4346 |
598 | ontology, jena, sparql등 전반에 대한 설명및 예제를 제공하는 사이트 | 2015.12.08 | 2601 |
597 | protege 4.3 다운로드 | 2015.12.09 | 2391 |
596 | git설명 한글판 | 2015.12.09 | 2827 |
595 |
sparql 문법구조 설명
![]() | 2015.12.09 | 3335 |
594 | 대표 오픈소스 라이선스, 한 눈에 보기! | 2015.12.10 | 3079 |
593 | 천문학적, 기후학적, 기상학적, 생물학적, 농사계절 구분 | 2015.12.16 | 2933 |
592 | java quartz 시간 설정 참고사항 | 2015.12.16 | 3147 |
591 | console명령과 API비교 | 2015.12.21 | 4730 |