Backend/Python (2) 썸네일형 리스트형 flask 아나콘다없이 가상환경설정(venv) 이번프로젝트는 아나콘다없이 플라스크가 제공해주는 가상환경을 설정해보았다. https://wikidocs.net/81041 1-03 플라스크 개발 환경 준비하기 이제 본격적으로 플라스크를 이용한 웹 개발 환경을 준비해 보자. 그전에 여러분이 알아야 할 중요한 개념이 하나 있다. 바로 파이썬 가상 환경이다. 우리는 플라스크를 파이썬 ... wikidocs.net 가상환경 만들기 python -m venv 가상환경이름 준비: 파이썬 버전 3이상 설치폴더 위치는 깃에 올라가지않는 위치로 이동한뒤에 가상환경을제작한다. 주로 c드라이브에 설치하는듯하다. 가상환경이름은 프로젝트명으로해야 후에 여러가상환경들을봤을때 덜헷갈린다. 가상환경 실행방법 activate 윈도우에 경우 만들어진 가상환경폴더>Scripts에 이동한.. flask 한꺼번에 install 하기 pip install -r requirements.txt 가상환경달라지만 무식하게 하나하나 다 인스톨했는데 아래처럼하면 한꺼번에 다운받아짐! pip install -r requirements.txt requirements.txt 예시 # pip install Flask Flask-RESTful jsonschema \ #mysql-connector-python Pillow qrcode requests \ #SQLAlchemy aniso8601==9.0.1 certifi==2020.12.5 chardet==4.0.0 click==8.0.1 colorama==0.4.4 Flask==2.0.0 Flask-RESTful==0.3.9 greenlet==1.1.0 idna==2.10 itsdangerous==2.0.1 Jinja2==3.0.1 jsonschema==3.2... 이전 1 다음