쟝고 프레임워크에서 빅데이터 크롤링한 것을 차트로 그려서 웹페이지에서 보려고 할 때, 뜬 에러 TemplateSyntaxError at /chart/ Invalid block tag on line 10: 'static'. Did you forget to register or load this tag? Request Method:Request URL:Django Version:Exception Type:Exception Value:Exception Location:Python Executable:Python Version:Python Path:Server time: GET http://localhost/chart/ 4.0.5 TemplateSyntaxError C:\Users\admin\anaconda3\..
쟝고로 웹 게시판 만드는데 ValueError at /insert/ The view board.views.insert didn't return an HttpResponse object. It returned None instead. Request Method:POST Request URL:http://localhost/insert/ Django Version:4.0.5 Exception Type:ValueError Exception Value: The view board.views.insert didn't return an HttpResponse object. It returned None instead. Exception Location:C:\Users\admin\anaconda3\lib\site-pa..
쟝고로 웹 페이지 - bookmark 만드는 중에 에러 떴음. 쟝고에서 기본적으로 제공하지 않는 페이지를 만들기 -bookmark_list, bookmark_detail 페이지 from django.contrib import admin from django.urls import path from django.views.generic.detail import DetailView from django.views.generic.list import ListView import bookmark ... urlpatterns = [ path('admin/', admin.site.urls), #이거 추가 path('bookmark/', ListView.as_view(model=bookmark), name='index..
빅데이터 머신러닝 군집화 과정에서 최적의 K 찾기, 엘보 방법으로 할 때, for i in range(1, 11): kmeans_i = KMeans(n_clusters=i, random_state=0) #모델 생성 kmeans_i.fit(X_features_scaled) #모델 훈련 distortions.append(kmeans_i.inertia_) plt.plot(range(2,11), distortions, marker = 'o') plt.xlabel('Number of clusters') plt.ylabel('Distortion') plt.show() >> 에러 발생 --------------------------------------------------------------------------..
파이썬에서 TensorFlow 2 하다가... a = tf.constant(10) b = tf.constant(20) c = a + b d = (a+b).numpy() # 5 d = (a+b).numpy() 7 print(type(c)) 8 print(c) File ~\anaconda3\lib\site-packages\tensorflow\python\framework\ops.py:446, in Tensor.__getattr__(self, name) 437 if name in {"T", "astype", "ravel", "transpose", "reshape", "clip", "size", 438 "tolist", "data"}: 439 # TODO(wangpeng): Export the enable_nu..
#빅데이터 시각화 #많이 사용된 단어를 크게 시각화 #wordcloud ImportError Traceback (most recent call last) Input In [38], in () 1 #너비, 높이는 픽셀 2 wc = WordCloud(width=1000, height=600, background_color="white", random_state=0) ----> 3 plt.imshow(wc.generate_from_frequencies(fd_names)) 4 plt.axis("off") #축 없이 5 plt.show() ImportError: The _imagingft C module is not installed from wordcloud import WordCloud #너비, 높이는 픽셀 ..
#파이썬 데이터 분석 시각화 #NLTK #Lemmatizer LookupError: ********************************************************************** Resource omw-1.4 not found. Please use the NLTK Downloader to obtain the resource: >>> import nltk >>> nltk.download('omw-1.4') For more information see: https://www.nltk.org/data.html Attempted to load corpora/omw-1.4.zip/omw-1.4/ Searched in: - 'C:\\Users\\admin/nltk_data' - 'C..
웹 게시판 만드는 작업 중 회원가입 입력 폼 완성하고, js까지 했는데 오류 뜸. Failed to load resource: the server responded with a status of 404 () 구글링해보니 경로 설정 잘못이라고 경로를 정말 잘못 설정했거나, 높은 확률로 오타. 확인해보니, .done(function(res){ if(res == "success"){ alert("회원가입을 축하합니다."); location.href="/memeber/login" }else if(res == "fail"){ alert("아이디 중복 확인 해주세요.") $("#id").val(); } }) 경로 폴더명 오타였음. member인데 memeber라고 썼음. .done(function(res){ if(..
못 찾아서 에러나는 것. -매핑 제대로 했는가? -Annotation 제대로 다 붙여줬나? @Controller / @Mapper / @Service -매칭을 잘못했는가? 내 경우엔, 매핑을 잘못해서 수정했음. 내 프로젝트의 게시글 조회 페이지는 general.jsp인데.. 수업 때 list.jsp를 썼다보니 반사적으로 사용해버림...ㅠ 수정 @PostMapping("insert") public String register(BoardVO vo) { boardService.insert(vo); //return "redirect:list"; return "redirect:general } 본인이 설정한 것에 ㅁ자춰 넣으면 됨! 말은 쉽지만 잘 안 되뮤ㅠ)
- Total
- Today
- Yesterday
- html
- 변수
- Java
- html atrribute
- html a tag
- text formatting
- css
- improt
- html layout
- html base tag
- selcetor
- 스크립태그
- border-spacing
- empty-cell
- 미디어 태그
- 입력양식
- ScriptTag
- CascadingStyleSheet
- input type 종류
- initialized
- html pre
- scanner
- typeof
- html input type
- 기본선택자
- A%B
- BAEKJOON
- JavaScript
- caption-side
- 외부구성요소
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |