OperationCode/resources_api

Error while setting up environment on Windows 10

Kshitij09 opened this issue · 12 comments

Running make setup on Windows 10 as per the Getting Started instructions lead to following error -

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 240, in locate_app
    __import__(module_name)
ModuleNotFoundError: No module named 'run'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 556, in list_commands
    rv.update(info.load_app().cli.list_commands(ctx))
  File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 388, in load_app
    app = locate_app(self, import_name, name)
  File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 250, in locate_app
    raise NoAppException('Could not import "{name}".'.format(name=module_name))
flask.cli.NoAppException: Could not import "run".

Hmm, this is odd. Just to clarify, you followed all of the steps in the Getting Started instructions before encountering this?

@Kshitij09 Can you please provide the versions of Docker and Make that you were running when you encountered this?

Hmm, this is odd. Just to clarify, you followed all of the steps in the Getting Started instructions before encountering this?

Yes I followed every instruction and still got this error.

@Kshitij09 Can you please provide the versions of Docker and Make that you were running when you encountered this?

My system configuration is

Windows 10 Home (64-bit)
Docker: 19.03.1, build 74b1e89e8a
Make: 3.81

Hi @Kshitij09,

I was just now able to complete the make setup step on my Windows 10 machine.

Perhaps you need to update your Docker to the latest version.

My system configuration is:
Windows 10, version 1903
Docker: 19.03.4
Make: 3.81

With best regards,

Elmer

I'm using Latest release of Docker Toolbox and the Toolbox Releases shows that it has Docker 19.03.1. Is it possible to update this Docker version? Please help me in this regard.

Oh, interesting, looks like Docker Toolbox is a few versions behind on docker?

@Kshitij09,

It looks like Docker recommends Docker Desktop. Could you please try uninstalling the Docker Toolbox and install Docker Desktop instead? I'm not sure if this will solve this particular issue, but it seems worth a try.

I don't meet the minimum system requirements for Docker Desktop. Hence forced to use the toolbox. Could someone try running the project on Docker 19.03.1 on your machine. This will clarify whether the issue is in Docker version or something else.

@Kshitij09,

How about running Docker in a Linux based VM like so?

@Kshitij09 Are you still having trouble getting set up?

@aaron-suarez on Windows 10 - yes. Will try on Ubuntu and let you know. Should I change the title to error while setting up on Docker toolbox?

@Kshitij09 Did you ever get it working on Ubuntu?

And yes, you can change the title if you like. I don't think I've heard of anyone else running into this issue but we can leave it open until someone can reproduce.