e-m-b-a / embark

EMBArk - The firmware security scanning environment
https://www.securefirmware.de
MIT License
314 stars 46 forks source link

daphne could not be found within PATH or Pipfile's [scripts]: #109

Closed Hiran2912 closed 1 year ago

Hiran2912 commented 1 year ago

To Reproduce Steps to reproduce the behavior:

  1. EMBArk installation (default mode/docker-mode)
  2. Start EMBArk: sudo ./run-server.sh

OS: [Kali Linux 2023.01]

[ JOB] Starting migrations - log to embark/logs/migration.log Traceback (most recent call last): File "/var/www/embark/./manage.py", line 14, in main from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/var/www/embark/./manage.py", line 26, in main() File "/var/www/embark/./manage.py", line 17, in main raise ImportError( ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment? Traceback (most recent call last): File "/var/www/embark/./manage.py", line 14, in main from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/var/www/embark/./manage.py", line 26, in main() File "/var/www/embark/./manage.py", line 17, in main raise ImportError( ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?

[ JOB] Collecting static files Traceback (most recent call last): File "/var/www/embark/./manage.py", line 14, in main from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/var/www/embark/./manage.py", line 26, in main() File "/var/www/embark/./manage.py", line 17, in main raise ImportError( ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?

[ JOB] Starting runapscheduler Traceback (most recent call last): File "/var/www/embark/./manage.py", line 14, in main from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/var/www/embark/./manage.py", line 26, in main() File "/var/www/embark/./manage.py", line 17, in main raise ImportError( ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?

[ JOB] Starting Apache Traceback (most recent call last): File "/var/www/embark/./manage.py", line 14, in main from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/var/www/embark/./manage.py", line 26, in main() File "/var/www/embark/./manage.py", line 17, in main raise ImportError( ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?

[ JOB] Starting daphne(ASGI) - log to /embark/logs/daphne.log Error: the command daphne could not be found within PATH or Pipfile's [scripts].

=============================================================

EMBA logs are under /var/www/emba_logs/

Server started on http://embark.local

m-1-k-3 commented 1 year ago

Unsupported OS. Please check the prerequisites here: https://github.com/e-m-b-a/embark/wiki/Installation#prerequisites

spon94 commented 9 months ago

hi,I encountered the same issue, but my operating system is consistent with the prerequisites mentioned.