[현상] - 특정 패키지 설치후 해당 패키지 명령어로 실행되지 않을 때 ex) prefect라는 패키지 설치 후 $prefect version 명령어 쳤는데, command not found 오류 발생 - 설치히 아래 워닝이 있었음 WARNING: The script coolname is installed in '/home/user/.local/bin' which is not on PATH. [해결] - bashrc에 Path 추가 vi ~/.bashrc export PATH="/home/user/.local/bin:$PATH" source ~/.bashrc
파이썬 패키지를 설치하다 보면, 호환성 문제로 아래와 같은 import error를 만날 때가 있다. ImportError: cannot import name 'delayed' 그럴 때는, 아래와 같이 조치하면 된다. 1) delayed 패키지 설치 pip install delayed 2) 커널 재시작 주피터 노트북을 사용한다면, Kernel > Restart & Clear Output 그리고 다시 각종 패키지들을 다시 import하면 정상 작동한다. #파이썬 #python #import #error #delayed #주피터 #노트북 #jupyter #notebook #pip #install

from sklearn.datasets import load_iris import seaborn as sns # iris 데이터 불러오기 & 데이터 프레임 만들기 iris = load_iris() iris_df = pd.DataFrame(data= np.c_[iris['data'], iris['target']], columns= iris['feature_names'] + ['target']) iris_df['target'] = iris_df['target'].map({0: "setosa", 1: "versicolor", 2: "virginica"}) #pairplot 그리기 sns.pairplot(iris_df, hue='target') [pairplot 결과] # pairplot에서 대각성분(kdepl..
- Total
- Today
- Yesterday
- tutorial
- detection
- import
- vision
- dowhy
- Python
- export
- 서현
- ML
- Semantic
- TimeSeries
- anomaly
- learning
- causality
- segmentation
- transformer
- error
- rcnn
- bashrc
- 제조
- machine
- 맛집
- mask
- github
- 파이썬
- Bbox
- Domain
- explainability
- XAI
- AI
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |