Skip to content

Cannot run scanpipe command when running ScanCode.io on Docker #616

Description

@JonoYang

I'm running ScanCode.io on Docker and I've enabled authentication. I need to create a user account using the command scanpipe create-user <username>, so I can log in. Since I'm using Docker, I have to run the command from ScanCode.io's "web" container, so I run:

  • docker compose exec -it web scanpipe create-user <username>

However, I get the error:

Traceback (most recent call last):
  File "/usr/local/bin/scanpipe", line 5, in <module>
    from scancodeio import command_line
ModuleNotFoundError: No module named 'scancodeio'

I'm able to create a user account if I run docker compose exec -it web /app/manage.py create-user <username>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions