Skip to content

OSError: [Errno 8] Exec format error: #7

@rjunderwood

Description

@rjunderwood

When running:
python manage.py runserver
this error. PLEASE HELP.

  • Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
  • Restarting with stat
    Traceback (most recent call last):
    File "manage.py", line 33, in
    manager.run()
    File "/mnt/c/Users/riley/alrye/lib/python3.6/site-packages/flask_script/init.py", line 412, in run
    result = self.handle(sys.argv[0], sys.argv[1:])
    File "/mnt/c/Users/riley/alrye/lib/python3.6/site-packages/flask_script/init.py", line 383, in handle
    res = handle(*args, **config)
    File "/mnt/c/Users/riley/alrye/lib/python3.6/site-packages/flask_script/commands.py", line 425, in call
    **self.server_options)
    File "/mnt/c/Users/riley/alrye/lib/python3.6/site-packages/flask/app.py", line 772, in run
    run_simple(host, port, self, **options)
    File "/mnt/c/Users/riley/alrye/lib/python3.6/site-packages/werkzeug/serving.py", line 988, in run_simple
    run_with_reloader(inner, extra_files, reloader_interval, reloader_type)
    File "/mnt/c/Users/riley/alrye/lib/python3.6/site-packages/werkzeug/_reloader.py", line 332, in run_with_reloader sys.exit(reloader.restart_with_reloader())
    File "/mnt/c/Users/riley/alrye/lib/python3.6/site-packages/werkzeug/_reloader.py", line 176, in restart_with_reloader
    exit_code = subprocess.call(args, env=new_environ, close_fds=False)
    File "/usr/lib/python3.6/subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p:
    File "/usr/lib/python3.6/subprocess.py", line 709, in init
    restore_signals, start_new_session)
    File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
    OSError: [Errno 8] Exec format error: '/mnt/c/Users/riley/Desktop/2019/ALRYE/test/flaskSaaS/manage.py'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions