bryan.blackbee
bryan.blackbee

Reputation: 1954

uwsgi unrecognized option '--wsgi-file'

I attempted to perform a run using uwsgi on a simple test file. This follows the instructions from "this link".

However, it is throwing an error: unrecognized option '--wsgi-file'

getopt_long() error

Getting more and more confused..

Upvotes: 3

Views: 5214

Answers (3)

Taha Hamedani
Taha Hamedani

Reputation: 113

You need to install uwsgi in your pip.

pip install uwsgi

Upvotes: 0

Jimilian
Jimilian

Reputation: 3919

You need to install uwsgi plugin for python first. For Ubuntu you can do it by:

sudo apt-get install uwsgi-plugin-python

Upvotes: 2

The thing that helps me is the option in comand line: --plugin python.

Upvotes: 7

Related Questions