###前提・実現したいこと
WebアプリケーションをPythonで作成するためにuwsgiをインストールしたい(Nginxとともに使う予定)のですが、エラーが発生してしまいます。色々サイトを見て回ったのですがどれを試しても失敗するか、uwsgi.iniなどの重要ファイルがないなどの問題が発生します。どのようにすれば正常にインストールできるかご教授お願い致します。
###pipを試した場合
$sudo pip install uwsgi
他のやり方は見た感じ複雑で試してみても失敗したのでpipを試したのですが、このようにターミナルに入力して実行すると途中でPC自体が固まってしまいインストールに失敗します。
以下はその時のログです。
$sudo pip install uwsgi The directory 'home/ユーザー名/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permission and owner of that directory. If executing pip with sudo you may want sudo's -H flag The directory 'home/ユーザー名/.cache/pip/http' or its parent directory is not owned by the current user and checking wheels has been disabled. Please check the permission and owner of that directory. If executing pip with sudo you may want sudo's -H flag Collecting uwsgi Downloading uwsgi-2.0.15.tar.gz(795kB) 100% |■■■■■■■■■■| 798kB 593kB/s Installing collected packages:uwsgi Running setup.py install for uwsgi.../ ←ここでフリーズ
###環境
- Ubuntu 17.04(Windows PCに入れるときにこのバージョンしか正常に入らなかったため)
↑(アップデートは全て済ましてあります)
回答1件
あなたの回答
tips
プレビュー