Preparing to run Flask on EC2

What is Flask

-Flask is a Python framework

things to do

--Install Python --Install from pyenv. --Install Flask

pyenv install

git clone https://github.com/yyuu/pyenv.git ~/.pyenv

Pass through

$ vi .bash_profile

export PYENV_ROOT=$HOME/.pyenv
export PATH=$PYENV_ROOT/bin:$PATH
eval "$(pyenv init -)"

Check the python version list

$ pyenv install --list

install python

$ pyenv install your-version

If you get angry without a C compiler

yum -y install gcc

If you get angry with this

pip x.x.x requires SSL/TLS

#This solves
yum install openssl-devel

Re-challenge here

pyenv install 3.5.0

Version specification

pyenv global 3.5.0

reference

--There are 3 weeks of shell / local / global for version specification. Each scope is different.

Flask install

pip install --upgrade Flask

Recommended Posts

Preparing to run Flask on EC2
Preparing to run ImageMagick + im4java on Mac OS
Use Flask to run external files
[EC2] How to run selenium webdriver
How to run matplotlib on heroku
[Python] Run Flask on Google App Engine
I was addicted to Flask on dotCloud
How to run Cython on OSX Memo
Steps to run Google Chrome headless on EC2 Ubuntu and take screenshots
Notes on Flask
How to start Python (Flask) when EC2 starts
Put MicroPython on Windows to run ESP32 on Python
[2020 version] How to install Python3 on AWS EC2
How to run MeCab on Ubuntu 18.04 LTS Python
Run Python web apps on NGINX + NGINX Unit + Flask
Run Flask on CentOS with python3.4, Gunicorn + Nginx.
(For myself) AWS_Flask_3 (Install / Run Flask on AWS)
Run Python on Apache to view InfluxDB data
Preparing to use aws cli on Mac OS X
Easy to use Flask
Run Django on PythonAnywhere
Output log to console with Flask + Nginx on Docker
Run mysqlclient on Lambda
How to run Self bot on Discord.py [Easy vandalism! ]
jsonschema validation on flask
Preparing to use Ansible on an existing Linux server
Run OpenMVG on Mac
Run GPU version tensorflow on AWS EC2 Spot Instances
[AWS EC2] How to install Maven on Amazon Linux 2
How to install git on Linux such as EC2
How to run Django on IIS on a Windows server
Run Apache2 + WSGI + Flask
SSH connection to a private server using a bastion server on EC2
read the tag assigned to you on ec2 with boto3
Don't lose to Ruby! How to run Python (Django) on Heroku
Sample to put Python Flask web app on Azure App Service (Web App)
[AWS EC2] Settings you want to do on Amazon Linux 2
Building an environment to execute python programs on AWS EC2
Sample script to monitor Load Average on CloudWatch on AWS EC2
Run Jupyter on Ubuntu on Windows
Run Openpose on Python (Windows)
Touch Flask + run with Heroku
How to register on pypi
Run Tensorflow 2.x on Python 3.7
Update python on Mac to 3.7-> 3.8
To run gym_torcs with ubutnu16
Run Python CGI on CORESERVER
Run unix command on python
Python --Install MySQLDB on EC2
How to run Notepad ++ Python
React and Flask to GCP
Run IPython Notebook on Docker
Run YOLO v3 on AWS v2
Run CircuitPython on Seeeduino XIAO
Run Jupyter Notebook on windows
Run FreeBSD on Linux + qemu
Run OpenVino on macOS Catalina
Run YOLO v3 on AWS
How to install OpenCV on Cloud9 and run it in Python
Run a Java app that resides on AWS EC2 as a daemon
Things to note when running Python on EC2 from AWS Lambda