양파개발자 SW의 블로그입니다^^

Pycharm - No pytest runner found in selected interpreter : Fix

By  | 2020년 12월 2일 | 
in Menu bar Pycharm > Preference > Tools > Python Integrated Tools Look at the details Testing > Default test runner > Choose "pytest" Then a message will show up with "Fix" button > Click it Pycharm automatically setup the setting to use pytest -----------Done !!!

[python] 2진수 문자열을 binary data 로 변환하기 (binary string to bit)

By  | 2020년 7월 25일 | 
0 과 1 로 이루어진 문자열을 binary 타입의 데이터로 뽑아내는 방법을 알아본다! --------------------------------------------------------------- bin_str = "10010101011" # 이진법 문자열을 십진법 숫자로 바꾼뒤 이것을 또 binary 데이터로 변환bin_data = bin(int(bin_str, 2)) print(bin_data) # 바이너리 데이터가 생겼다!!! # 자 그러면 여기서. binary 데이터에서 non-zero bit 개수를 세는 방법 non_zero_bit_cnt = bin_data.count("1")print(non_zero_bit_cnt) -------------------------------

나만의 전주 맛집

By  | 2020년 8월 6일 | 
전주에서 태어나 19년을 자랐다.스무살부터 지금까지는 수도권 여기저기를 전전하며 쭉 살고 있지만,매년 최소 4번 이상은 방문하고 있다. 전주 하면 뭐니뭐니해도 엄마 밥이 최고지만,그래도 누가 전주맛집 추천해달라고 자꾸 그러면 건네주는오래도록 그 맛을 뚜렷히 기억하는 전주 맛집 몇개의 이름과 주소링크만 일단 간단히 적어보았다. 5 ***** 땡벌 막창http://naver.me/GhIpDIGY 모악 칡냉면http://naver.me/FJB3QHiG 고향산천 (다슬기탕)http://naver.me/FoASO4vF 4 **** 왱이 콩나물국밥http://naver.me/G4IHM0l1 전부 다 가기전에 전화 해서 영업중인지 확인 반드시 할것

[디버깅로그] Mac pip 패키지 설치 중 pg_config 관련 오류

By  | 2020년 10월 15일 | 
에러메세지 Error: pg_config executable not found. pg_config is required to build psycopg2 from source. Please add the directorycontaining pg_config to the $PATH or specify the full executable path with theoption: python setup.py build_ext --pg-config /path/to/pg_config build ... or with the pg_config option in 'setup.cfg'. If you prefer to avoid building psycopg2 from source, please install the P

[디버깅로그] pip install 도중 발생하는 에러 ld: library not found for -lssl 해결

By  | 2020년 10월 15일 | 
에러메세지 ld: library not found for -lsslclang: error: linker command failed with exit code 1 (use -v to see invocation)error: command 'clang' failed with exit status 1 해결책 brew (re)install postgresqlbrew (re)install openssl 하여 로그로 뜨는 아래와 같은 데이터들을 .bash_profile 에 지정해주도록 한다 # opensslexport PATH="/usr/local/opt/[email protected]/bin:$PATH"export LDFLAGS="-L/usr/local/opt/[email protected]/lib"export CPPFLAGS="