Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rjunderwood opened this issue Apr 11, 2019 · 7 comments
Open

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

rjunderwood opened this issue Apr 11, 2019 · 7 comments

Comments

@rjunderwood
Copy link

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'
@medicalnp
Copy link

Had a similar issue using cygwin on windows, did you find a solution?

@FurkanArslan
Copy link

I have a similar problem in macOS 10.12. Is there any solution for this problem?

@stromal
Copy link

stromal commented May 14, 2019

@FurkanArslan same problem same OS 10.12.6

@alexlaurence
Copy link

alexlaurence commented May 24, 2019

Same issue, macOS 10.14.4

@alexlaurence
Copy link

FOUND THE SOLUTION. Install Docker. Omg. Author forgot about that...

@MrCoca
Copy link

MrCoca commented Jun 5, 2019

FOUND THE SOLUTION. Install Docker. Omg. Author forgot about that...

Hi @alexlaurence , How did you configure Docker? do you have any documents that i can look at for the configuration of Docker. Thanks.

@donnybert
Copy link

I'm having this problem too and I have installed docker, but I too don't know how to configure it the way you did to make it work. Could you elaborate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants