AttributeError: module 'tensorflow' has no attribute 'variable'
AttributeError: module 'tensorflow' has no attribute 'variable'
위의 에러가 나와서 현재 작업들을 진행 해봄
tensorflow 지우기
pip uninstall tensorflow
tensorflow 다시 설치하기
pip install tensorflow
설치중
WARNING: You are using pip version 19.1.1, however version 19.2.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
이게 떠서 다시 설치를 진행함
---------------------------------
문제는 keras와 tensorflow의 동일한 버전으로 구현이 안되는데 다시 설치하면 된다네요.
저는 keras를 설치 안해서 그런것 같아요
pip install --upgrade pip setuptools wheel
pip install -I tensorflow
pip install -I keras
위와 같이 진행을 하고 있습니다...만
ERROR: astroid 2.2.5 requires typed-ast>=1.3.0; implementation_name == "cpython", which is not installed.
이게 나오고
Installing collected packages: gast, numpy, wheel, six, grpcio, werkzeug, setuptools, protobuf, absl-py, markdown, tensorboard, termcolor, h5py, keras-applications, wrapt, astor, google-pasta, tensorflow-estimator, keras-preprocessing, tensorflow
이게 나오고
ERROR: Operation cancelled by user
이렇게 나오네요....
'Study > Coding_Python' 카테고리의 다른 글
ChatGPT와 음성인식 연결 python (0) | 2023.03.16 |
---|---|
please first open a folder in order to do advanced debug configuration - VScode (0) | 2019.08.28 |
Python 개발시작 2일차 (0) | 2019.06.20 |
Python 개발 공부 1일차 (0) | 2019.06.19 |
개발을 처음 시작하려고 합니다. (0) | 2019.06.18 |