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

Does not run no module named error #21

Open
himat opened this issue Jun 20, 2022 · 0 comments
Open

Does not run no module named error #21

himat opened this issue Jun 20, 2022 · 0 comments

Comments

@himat
Copy link

himat commented Jun 20, 2022

I successfully ran make server.install

And then I tried to run make server.start, but I got this error

❯ make server.start
docker-compose up server
Starting backend_dbdata_1 ... done
Starting backend_db_1     ... done
Starting backend_server_1 ... done
Attaching to backend_server_1
server_1      | Traceback (most recent call last):
server_1      |   File "src/server.py", line 1, in <module>
server_1      |     from flasgger import Swagger
server_1      | ModuleNotFoundError: No module named 'flasgger'
backend_server_1 exited with code 1

When I had ran make server.install, this was the last part of the long output

<previous output>
Successfully installed Flask-1.0.3 Flask-Migrate-2.5.2 Flask-RESTful-0.3.7 Flask-SQLAlchemy-2.4.0 Flask-Script-2
.0.6 Jinja2-2.10.1 Mako-1.2.0 MarkupSafe-2.1.1 PyYAML-6.0 SQLAlchemy-1.3.4 Werkzeug-0.15.4 alembic-1.0.10 aniso8
601-9.0.1 appdirs-1.4.4 atomicwrites-1.4.0 attrs-21.4.0 black-19.3b0 certifi-2022.6.15 chardet-3.0.4 click-8.1.3
 colorclass-2.2.2 coverage-6.4.1 docopt-0.6.2 dparse-0.5.1 entrypoints-0.3 flake8-3.7.7 flasgger-0.9.2 idna-2.8
importlib-metadata-4.11.4 importlib-resources-5.8.0 isort-4.3.20 itsdangerous-1.1.0 jsonschema-4.6.0 mccabe-0.6.
1 mistune-2.0.2 more-itertools-8.13.0 packaging-21.3 pip-upgrader-1.4.12 pluggy-0.13.1 psycopg2-2.8.2 py-1.11.0
pycodestyle-2.5.0 pyflakes-2.1.1 pyparsing-3.0.9 pyrsistent-0.18.1 pytest-4.6.2 pytest-cov-2.7.1 pytest-sugar-0.
9.2 python-dateutil-2.8.2 python-editor-1.0.4 pytz-2019.1 requests-2.22.0 safety-1.8.5 setproctitle-1.1.10 six-1
.12.0 termcolor-1.1.0 terminaltables-3.1.10 toml-0.10.2 typing-extensions-4.2.0 urllib3-1.25.11 wcwidth-0.2.5 zi
pp-3.8.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the syst
em package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
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

1 participant