[업무일지] 210726

이승연·2021년 7월 26일
0

업무일지들

목록 보기
9/49
  1. 오늘 스테이징 서버 셋업을 완료하고 싶었는데... 진짜 너무 속상하다.
  2. pip3 install -r requirements.txt 때문에 미춰버리겠다.
  • 이걸 하면 순서대로 다 다운받아지는 건 맞는데 dependency 때문에 뭐가 하나 안되면 주르륵 다 인스톨이 안된다.
  • 날 제일 힘들게 했던건 Failed building wheel for psycopg2였고 pip install psycopg2-binary==2.8.3를 사용해서 해결.
  • numpy는 버전을 numpy==1.19.5로 바꿔서 해결.
  • 하 진짜 requirements.txt를 만든 이유가 뭐지 이렇게 다 따로 다운받으려면? 진짜 너무 짜증난다.
  • 이 링크를 참조하니 다음과 같이 얘기한다:

    psycopg2 vs psycopg2-binary
    Because we're only just starting (and I'm assuming most students are fairly new to software development and programming), you should use psycopg2-binary only[1]. Don't install psycopg2 at all, and certainly don't install both packages.
    That's because when you install psycopg2-binary, it will just work.
    To install psycopg2 there are a bunch of prerequisites[2] that you probably won't have already installed. In addition, you'll have to find some files and programs in your computer that can be quite difficult to find!
    As you learn more and more and because a proficient (maybe professional) software developer, you will want to use psycopg2 instead of psycopg2-binary. That's because when you're doing some really advanced stuff, there can be some problems with psycopg2-binary[3][4].
    Please don't use psycopg2 at the moment unless you're really confident you know how to install it.

  • 그러니까 psycopg2든 psycopg2-binary든 psycopg2이라는 모듈을 주는 것은 맞는데 다운받는 방식이 다르다는거다..

0개의 댓글