본문 바로가기

오류30

x and y can be no greater than 2-D, but have shapes (2,) and (2, 1, 1) plt.scatter(train_input, train_target) plt.plot([15, 50], [15*lr.coef_+lr.intercept_, 50*lr.coef_+lr.intercept_]) plt.scatter(50, 1241.8, marker='^') plt.xlabel('length') plt.ylabel('weight') plt.show() 위 구문에서 다음과 같은 오류 발생 ~\AppData\Local\Programs\Python\Python39\lib\site-packages\matplotlib\axes\_base.py in _plot_args(self, tup, kwargs) 343 f"have shapes {x.shape} and {y.shape}") 344 if x.ndim .. 2021. 3. 2.
Backtrader - ImportError: cannot import name 'warnings' from 'matplotlib.dates' 오류 처리 방법 Backtrader 사용 시 다음과 같은 오류 발생 ImportError: cannot import name 'warnings' from 'matplotlib.dates' matplotlib 상위 버전과 호환에 버그가 있어 다운그레이드 해야 한다. pip uninstall matplotlib pip install matplotlib==3.2.2 # pip 패키지 버전 확인 pip list Fix pull request: https://github.com/mementum/backtrader/pull/418. Fix ImportError from matplotlib.dates by Larry-u · Pull Request #418 · mementum/backtrader matplotlib.dates does.. 2021. 2. 17.
pip install error - after connection broken by 'ProxyError pip install 오류 C:\Users\user>pip install scipy WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1105: The handshake operation timed out'))': /simple/scipy/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'Prox.. 2021. 1. 20.
Flutter - VSCode에서 에뮬레이터 실행 오류 나는 경우. 진단 방법 ( Android SDK 환경변수 설정 오류 ) VS CODE에서 Show All Commands 명령어로 Flutter:Lanuch Emulator명령을 실행 시 오류가 발생했다. Flutter doctor를 실행한 결과 다음과 같이 오류가 떨어졌다. (Flutter doctor는 VSCODE에서 Flutter: Run Flutter Doctor 로 실행한다. ) [X] Android toolchain - develop for Android devices X Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Andro.. 2020. 4. 4.