You are viewing a plain text version of this content. The canonical link for it is here.
Posted to custos@airavata.apache.org by GitBox <gi...@apache.org> on 2020/06/19 01:16:22 UTC
[GitHub] [airavata-custos-portal] akhil-8607 opened a new issue #9: ModuleNotFoundError: No module named 'grpc' while running the Django server
akhil-8607 opened a new issue #9:
URL: https://github.com/apache/airavata-custos-portal/issues/9
**Hi , I am trying to run custos portal in local machine (Mac) and facing the below error while running the Django server in 4th step of readme.**
Traceback (most recent call last):
File "/Users/akhil/Documents/CUSTOS/airavata-custos-portal/venv/lib/python3.6/site-packages/django/core/management/base.py", line 328, in run_from_argv
self.execute(*args, **cmd_options)
File "/Users/akhil/Documents/CUSTOS/airavata-custos-portal/venv/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 60, in execute
super().execute(*args, **options)
File "/Users/akhil/Documents/CUSTOS/airavata-custos-portal/venv/lib/python3.6/site-packages/django/core/management/base.py", line 369, in execute
output = self.handle(*args, **options)
File "/Users/akhil/Documents/CUSTOS/airavata-custos-portal/venv/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 67, in handle
if not settings.DEBUG and not settings.ALLOWED_HOSTS:
File "/Users/akhil/Documents/CUSTOS/airavata-custos-portal/venv/lib/python3.6/site-packages/django/conf/__init__.py", line 76, in __getattr__
self._setup(name)
File "/Users/akhil/Documents/CUSTOS/airavata-custos-portal/venv/lib/python3.6/site-packages/django/conf/__init__.py", line 63, in _setup
self._wrapped = Settings(settings_module)
File "/Users/akhil/Documents/CUSTOS/airavata-custos-portal/venv/lib/python3.6/site-packages/django/conf/__init__.py", line 142, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/Users/akhil/.pyenv/versions/3.6.0/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 936, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
File "/Users/akhil/Documents/CUSTOS/airavata-custos-portal/custos_portal/custos_portal/__init__.py", line 1, in <module>
from clients.identity_management_client import IdentityManagementClient
File "/Users/akhil/Documents/CUSTOS/airavata-custos-portal/venv/lib/python3.6/site-packages/clients/identity_management_client.py", line 19, in <module>
import grpc
ModuleNotFoundError: No module named 'grpc'
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airavata-custos-portal] akhil-8607 commented on issue #9: ModuleNotFoundError: No module named 'grpc' while running the Django server
Posted by GitBox <gi...@apache.org>.
akhil-8607 commented on issue #9:
URL: https://github.com/apache/airavata-custos-portal/issues/9#issuecomment-651358262
Installed the requirements.txt from custos sdk and Django server is running , But facing the below mentioned issue after that while performing user registration or any other functionality from UI
https://github.com/apache/airavata-custos-portal/issues/10
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airavata-custos-portal] machristie commented on issue #9: ModuleNotFoundError: No module named 'grpc' while running the Django server
Posted by GitBox <gi...@apache.org>.
machristie commented on issue #9:
URL: https://github.com/apache/airavata-custos-portal/issues/9#issuecomment-646691811
Maybe you need to install requirements.txt from the custos sdk in the same virtual env? https://github.com/apache/airavata-custos/blob/develop/custos-client-sdks/custos-python-sdk/requirements.txt
But probably, these dependencies should be added to `install_requires` in https://github.com/apache/airavata-custos/blob/develop/custos-client-sdks/custos-python-sdk/setup.py, so this issue probably belong on that project instead.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org