본문 바로가기

문제 해결

(3)
[문제해결] intellij-spring-maven 에서 swagger UI 실행하기 오류 해결 swagger ui 를 사용하기 위해 maven dependency를 추가하고 오류 발생 및 해결 과정 정리 0. 버전 1. spring_maven 에서 swagger ui 를 사용하기 위해 maven.org에서 다음 dependency를 추가https://central.sonatype.com/artifact/org.springdoc/springdoc-openapi-starter-webmvc-ui/overview Maven Central: org.springdoc:springdoc-openapi-starter-webmvc-uiDiscover springdoc-openapi-starter-webmvc-ui in the org.springdoc namespace. Explore metadata, contri..
[Python] TypeError: 'str' object is not callable import sysinput = sys.stdin.readline().rstrip()n = int(input())sum = 1def factorial(i) : if i 와 같이 간단한 팩토리얼 코드를 구현했는데 TypeError: 'str' object is not callable 에러가 발생했다. 구글링을 해봤더니 대부분 코랩을 초기화 하던가 새페이지를 파서 문제를 해결했는데 나는 문제가 좀 다른 듯 했다.chatGPT한테 물어보니 코드에서 input이라는 이름을 변수로 사용했기 때문에 에러 발생했다고 한다. 기존에 사용하는 input( ) 함수에 sys.stdin.readline().rstrip()이라는 구문으로 input 함수를 덮어써서, 이후 input()을 호출하려고 할 때 str 객체가 ..
[문제 해결] Conda ssl 오류 conda에서 명령어가 안먹는 오류 발생SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/main/win-64/current_repodata.json (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))')) 오류와 함께 conda update all, 파이썬 버전 변경을 위한 conda python=2.0 이나 사용가능한 python을 알아보는 conda search python 등이 되지 않았다. # solution 1conda..