LoginSignup
1
0

More than 3 years have passed since last update.

Amazon EC2にuwsgiをインストールする

Posted at

Pythonでサービスを作ろうとしたんですが、
uwsgiをインストールできなかったんで、困った。
色々しらべて、以下を入れれば大丈夫だとわかったのでメモ。

sudo yum install python3-pip python3-devel
sudo yum groupinstall "Development Tools"

sudo pip3 install --upgrade pip

pip install wheel
pip install uwsgi

Development Toolsを入れないとコンパイルできないみたいです。
おそらくC言語で書かれたものとかをコンパイルするために必要なものだと思います。
この問題は最小構成のCentOS系サーバだとありそうですね。

wheelもPythonのモジュールのコンパイル?で必要なのかな。
いらないかもしれません。

無事インストールできました。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0