Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
Tags
- 딥러닝 코드
- AzureML
- state of health
- 배터리 딥러닝
- Battery modeling
- 코드로 이해하는 딥러닝
- Battery Deep Learning
- bms
- 배터리 AI
- 배터리 진단
- eis
- Battery Management System
- 머신러닝 코드
- Deep learning
- 머신러닝
- Azure
- Machine Learning
- tensorflow
- Battery AI
- Incremental Capacity Analysis
- 텐서플로우
- 리튬배터리
- 코이딥
- 배터리 연구
- 배터리 열화
- 칼만필터
- 딥러닝
- 배터리 모델링
- Battery SOH
- 배터리 EIS
Archives
- Today
- Total
Engineering insight
ImportError: cannot import name 'moduleTNC' from partially initialized module 'scipy.optimize' 본문
DeepLearning Framework & Coding/De-bugging
ImportError: cannot import name 'moduleTNC' from partially initialized module 'scipy.optimize'
Free-Nomad 2021. 6. 28. 17:27싸이킷런(scikit-learn) 설치시 경로설정이 잘못되었거나 다운로드중 오류가 있었을때 발생하는 문제로
이것때문에 한동안 해맸는데..
StackOverflow를 뒤지다가 엄청 간단한 해결법을 발견...
https://github.com/scikit-learn/scikit-learn/issues/4830
cannot import name 'moduleTNC' · Issue #4830 · scikit-learn/scikit-learn
from sklearn import roc_curve Traceback (most recent call last): File "", line 1, in ImportError: cannot import name 'roc_curve' from sklearn.metrics import roc_curve Traceback (m...
github.com
결론은 딱 2줄
"콘다에 설치된 싸이킷런을 지우고 다시깔면 자동으로 맞게 세팅된다"
conda remove scipy scikit-learn -y
conda install scipy scikit-learn -y
'DeepLearning Framework & Coding > De-bugging' 카테고리의 다른 글
| cannot import name 'Adam' from 'keras.optimizers' (0) | 2021.09.06 |
|---|---|
| ModuleNotFoundError: No module named 'wrapt' (0) | 2021.06.28 |
| Tensorflow2는 tf.contrib를 지원하지 않습니다. (0) | 2020.12.30 |
| The terminal process failed to launch: A native exception occurred (0) | 2020.12.29 |
| module 'tensorflow_core.compat.v1' has no attribute 'contrib' (0) | 2020.12.27 |
