[ 작업 환경 ]

ncloud 서버

Centos 7.3

Python3.6

 

 

 

 

1. mariadb를 포함하여 개발 환경 세팅을 위한 설치 진행

yum install mariadb -y
yum install mariadb-server -y
yum install mariadb-devel -y

 

 

 

 

2. Flask로 API 서버 개발을 위해 필요한 여러 패키지들 설치

yum install python3-devel -y
yum install gcc -y

pip3 install --upgrade pip

pip install --upgrade pip setuptools
pip install flask
pip install PyJWT
pip install flask-mysqldb
pip install bcrypt
pip install python-dateutil
pip install -U flask-cors
pip install pillow
pip install pymysql
pip install requests
pip install firebase-admin

 

 

 

 

3. pip로 설치된 패키지 확인하기

pip list

[root@node1 flask_api]# pip list
Package                  Version
------------------------ ---------
bcrypt                   3.2.0
CacheControl             0.12.6
cachetools               4.2.1
certifi                  2020.12.5
cffi                     1.14.5
chardet                  4.0.0
click                    7.1.2
firebase-admin           4.5.2
Flask                    1.1.2
Flask-Cors               3.0.10
Flask-MySQLdb            0.2.0
google-api-core          1.26.0
google-api-python-client 1.12.8
google-auth              1.27.0
google-auth-httplib2     0.0.4
google-cloud-core        1.6.0
google-cloud-firestore   2.0.2
google-cloud-storage     1.36.1
google-crc32c            1.1.2
google-resumable-media   1.2.0
googleapis-common-protos 1.52.0
grpcio                   1.35.0
httplib2                 0.19.0
idna                     2.10
itsdangerous             1.1.0
Jinja2                   2.11.3
MarkupSafe               1.1.1
msgpack                  1.0.2
mysqlclient              2.0.3
packaging                20.9
Pillow                   8.1.0
pip                      21.0.1
proto-plus               1.13.0
protobuf                 3.15.2
pyasn1                   0.4.8
pyasn1-modules           0.2.8
pycparser                2.20
PyJWT                    2.0.1
PyMySQL                  1.0.2
pyparsing                2.4.7
python-dateutil          2.8.1
pytz                     2021.1
requests                 2.25.1
rsa                      4.7.1
setuptools               53.0.0
six                      1.15.0
uritemplate              3.0.1
urllib3                  1.26.3
Werkzeug                 1.0.1

 

 

 

+ Recent posts